virial.VirialEquilibrium#
- class virial.VirialEquilibrium(model, ptype='dark_matter', df=None)[source]#
Virialization manager: TODO
Methods
__init__
(model[, ptype, df])Generate a virial equilibrium model from a profile.
Computes the radial density profile for the collisionless particles computed from integrating over the distribution function, and the relative difference between this and the input density profile.
generate_particles
(num_particles[, r_max, ...])Generate a set of dark matter or star particles in virial equilibrium.
Attributes