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

Density weighted interpolation #44

Closed AndrewHarris709 closed 1 year ago

AndrewHarris709 commented 1 year ago

Introduces an option to weigh a rendered plot by particle density. If not given, this option defaults to true if 'rho' is given as a target, and false for any other value.

Resolves #43

Example: Rendering non-density target 'vkep' with density-weighted interpolation: image

Rendering non-density target 'vkep' without density-weighted interpolation (default): image