Published June 5, 2026 | Version v3.0.2

swiftgalaxy

Authors/Creators

  • 1. Durham University

Description

SWIFTGalaxy is an open-source astrophysics module that extends SWIFTSimIO to analyses of particles belonging to individual galaxies simulated with SWIFT. It inherits from and extends the functionality of SWIFTSimIO's SWIFTDataset class. It understands the content of halo catalogues and therefore which particles belong to a galaxy or other group of particles, 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. Utilities to make working in cylindrical and spherical coordinate systems more convenient are also provided. Finally, tools to iterate efficiently over multiple galaxies are provided.

Notes

If you use this software, please cite it using the metadata from this file.

Files

SWIFTSIM/swiftgalaxy-v3.0.2.zip

Files (2.0 MB)

Name Size Download all
md5:056d118fe5e71ec43143ccb11d0f7b66
2.0 MB Preview Download

Additional details

Related works