ttricco / sarracen

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

Additional arguments and refactoring of interpolation & render functions. #19

Closed AndrewHarris709 closed 2 years ago

AndrewHarris709 commented 2 years ago

Adds new arguments to the sarracen render API, which allows passing of custom arguments to underlying matplotlib & seaborn functions. The resulting plots can now be customized to a much deeper degree. As well, the render functions can now be passed a user-defined axes object, allowing for the creation of larger plots and multiplots.

Internally, the codebase for interpolation and rendering has been refactored to share common code. Three of the four interpolation functions now use a single internal numba function, which will simplify further updates.