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

Default rotation parameters #60

Closed ttricco closed 8 months ago

ttricco commented 1 year ago

The default point of rotation is the centre point of the bounds of the data.

For simulations with free boundaries, for example, this can lead to a centre point that drifts far from the original centre point based on a few outlier particles. This leads to un-intuitive behaviour. See issue #57.

Issue is to use default parameters that are more useful, like [0,0,0] or the centre of mass.