[yt-users] Trajectories

John ZuHone jzuhone at milkyway.gsfc.nasa.gov
Thu Aug 25 11:29:58 PDT 2011


Hi all,

Has anyone ever used yt to construct particle trajectories? I have something I have coded up myself to do this but it is rather slow. For each timestamp, it looks for the particles by index, sorts them in order, and then appends the particle properties to each trajectory. 

It could be that although I'm using numpy for all of the array manipulations, that I'm still doing all of this in python, and doing this in cython would probably be faster.

Best,

John ZuHone


More information about the yt-users mailing list