gandalfcode / gandalf

GANDALF (Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids)
GNU General Public License v2.0
44 stars 12 forks source link

Set interval between snapshots in python code #22

Open dhubber opened 10 years ago

dhubber commented 10 years ago

Have option to set the interval between snapshots when searching through all snapshots to compute quantities (e.g. sink mass). Will speed up analysis when only wanting a coarse overview of the results.

giovanni-rosotti commented 10 years ago

Which are the functions that loop over all snapshots? I can think of time_plot and make_movie, are there other ones?

dhubber commented 7 years ago

Yes, I believe it may just be these two functions, at least from the list of functions I can see. Looks like this is straight-forward to do for make_movie but more complicated for time_data, which has a deep hierarchy of function calls that actually generate all the data.