comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Breaking a large program file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Breaking a large program file [message #91970] Thu, 24 September 2015 04:39 Go to next message
Rosie is currently offline  Rosie
Messages: 27
Registered: September 2012
Junior Member
Hello,

I am using a very large program file which takes 15 min to complete one run. The final part is generating contours globally out of data from mathematical calculations (first part).

Can anyone help me on how to separate those two parts, so that I can store and use the data from mathematical part to analyse lots of graphical details later. It will save lots of time.

Regards,
Re: Breaking a large program file [message #91986 is a reply to message #91970] Thu, 24 September 2015 11:18 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Thursday, September 24, 2015 at 6:39:35 AM UTC-5, Parij wrote:
> Hello,
>
> I am using a very large program file which takes 15 min to complete one run. The final part is generating contours globally out of data from mathematical calculations (first part).
>
> Can anyone help me on how to separate those two parts, so that I can store and use the data from mathematical part to analyse lots of graphical details later. It will save lots of time.
>
> Regards,

A common problem for scientific programmers:

1) Analyze/parse a bunch of data
2) Plot said analysis

When I need to do this, I typically take the output from 1) and put into a SAVE file. That way, I can work on the plotting, separate from the analysis.

You could dump the analysis is some other intermediary file (ASCII, binary, etc) but I find the SAVE/RESTORE capabilities to *very* useful and simple.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CT image without scaling
Next Topic: HISTOGRAM

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:35:05 PDT 2025

Total time taken to generate the page: 0.00518 seconds