ttricco / sarracen

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.
https://sarracen.readthedocs.io
GNU General Public License v3.0
15 stars 18 forks source link

Adding option to plot in a corotating frame #85

Closed sahl95 closed 2 months ago

sahl95 commented 2 months ago

Additional optional argument to plot in a corotating frame. Takes in a list containing the x,y,z coordinates of two locations. Rotates all the particles accordingly.

Tested with splash outputs.