Skip to content

Load in particles of a simulated galaxy, rotate coordinates, easy spherical/cylindrical coordinates, access integrated properties, and more.

License

Notifications You must be signed in to change notification settings

SWIFTSIM/swiftgalaxy

Repository files navigation

SWIFTGalaxy

Build Status Documentation Status

SWIFTGalaxy is a module that extends SWIFTSimIO tailored to analyses of particles belonging to individual simulated galaxies. It inherits from and extends the functionality of the SWIFTDataset. It understands the output of a halo finder (supported: Velociraptor, Caesar; planned support: SOAP) and therefore which particles belong to a galaxy, and its integrated properties. The particles occupy a coordinate frame that is enforced to be consistent, such that particles loaded on-the-fly will match e.g. rotations and translations of particles already in memory. Intuitive masking of particle datasets is also enabled. Finally, some utilities to make working in cylindrical and spherical coordinate systems more convenient are also provided.

Citing SWIFTGalaxy

Note

swiftgalaxy will be listed on the ASCL after the first publication using it. Citation details will then be given here. In the meantime, if you publish a paper using swiftgalaxy, please get in touch at submission time!

Please also consider the citations requested for SWIFTSimIO.

About

Load in particles of a simulated galaxy, rotate coordinates, easy spherical/cylindrical coordinates, access integrated properties, and more.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages