ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2505.002] SWIFTGalaxy: Galaxy particle analyzer

SWIFTGalaxy analyzes particles belonging to individual simulated galaxies. The code provides a software abstraction of simulated galaxies produced by the SWIFT smoothed particle hydrodynamics code (https://ascl.net/1805.020) and extends the SWIFTSimIO module. SWIFTGalaxy inherits from and extends the functionality of the SWIFTDataset. It understands the output of halo finders 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, for example, match rotations and translations of particles already in memory. Intuitive masking of particle datasets is also enabled. Finally, SWIFTGalaxy provides utilities that make working in cylindrical and spherical coordinate systems more convenient.

Code site:
https://pypi.org/project/swiftgalaxy/ https://github.com/SWIFTSIM/swiftgalaxy
Used in:
https://ui.adsabs.harvard.edu/abs/2025arXiv250513056T
Bibcode:
2025ascl.soft05002O

Views: 2458

ascl:2505.002
Add this shield to your page
Copy the above HTML to add this shield to your code's website.