pynbody.analysis.cosmology#
Functions for common cosmological calculations.
Functions
|
Calculate the Hubble parameter of the universe in snapshot f |
|
Add the hubble flow to velocities in snapshot f |
|
Calculate the age of the universe in the snapshot f by integrating the Friedmann equation. |
Given an array, modify it to be in physical units (remove any dependencies on a or aform). |
|
|
Calculate the linear growth factor b(a), normalized to 1 at z=0, for the cosmology of snapshot f. |
|
Calculate the linear growth rate b'(a), normalized to 1 at z=0, for the cosmology of snapshot f. |
|
Calculate the redshift given a snapshot and a time since Big Bang in Gyr. |
|
Calculate the matter density of the universe in snapshot f. |
|
Calculate the critical density of the universe in the snapshot f. |
|
Calculate the conformal age of the universe in the snapshot f by integrating the conformal Friedmann equation. |