Hydrodynamical simulations (hydro)#
The hydro module contains the functionality necessary for running simulations that use hydrodynamical
zoom-in simulations as their initial conditions. This includes the ability to read in snapshots,
centre and rotate them, estimate the galactic potential, get the initial conditions of star particles and
run a full cogsworth Population based on all that!
Populations (hydro.pop)#
Classes#
|
A population of stars sampled from a hydrodynamical zoom-in snapshot |
Estimating potentials (hydro.potential)#
Functions#
|
Compute the potential of a snapshot of a hydrodynamical zoom-in simulation |
Initial conditions (hydro.rewind)#
Functions#
|
Rewind a snapshot to the time of formation of each particle |
Utility functions (hydro.utils)#
Functions#
|
Prepare a snapshot for use in cogsworth |
|
Calculate the velocity dispersion from the virial parameter |