Skip to content

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.

License

Notifications You must be signed in to change notification settings

becnealon/sarracen

 
 

Repository files navigation

Sarracen

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.

About

Sarracen is built upon the pandas, Matplotlib and NumPy libraries. It can load SPH particle data into a pandas DataFrame object that has been extended to allow for rendering of particle data and interpolation of particles to fixed grids. Additionally, this allows for access to the rich landscape of Python scientific and statistical libraries. All SPH functions offer multi-threaded CPU and CUDA implementations. Our intended application is for astrophysical SPH data.

Installation

The latest stable release and associated dependencies can be installed from PyPi:

pip install sarracen

This is the recommended way to install Sarracen.

To install the latest development snapshot, install using this GitHub repository. Either clone the repository and add it to your path so that it can be imported, or install directly through pip:

pip install git+https://github.com/ttricco/sarracen.git

Documentation

Sarracen's documentation is hosted online at https://sarracen.readthedocs.io.

Contributing

Contributions are welcomed and appreciated. Here are some ways to get involved:

  • Submitting bug reports.
  • Feature requests or suggestions.
  • Improving the documentation or providing examples.
  • Writing code to add optimizations or new features.

Please use the GitHub issue tracker to raise any bugs or to submit feature requests. If something does not work as you might expect, please let us know. If there are features that you feel are missing, please let us know.

Code submissions should be submitted as a pull request. Make sure that all existing unit tests successfully pass, and please add any new unit tests that are relevant. Documentation changes should also be submitted as a pull request.

If you are stuck or need help, raising an issue is a good place to start. This helps us keep common issues in public view. Feel free to also email with questions.

Please note that we adhere to a code of conduct.

Citation

Please cite the paper if you use Sarracen within your work (DOI: 10.21105/joss.05263).

Sarracen: a Python package for analysis and visualization of smoothed particle hydrodynamics data. Journal of Open Source Software, 8(86), 5263, 2023.

About

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%