cosmology_utils module
Some cosmology utility functions
- syntheticstellarpopconvolve.cosmology_utils.age_of_universe_to_redshift(age_of_universe, cosmology)[source]
Function to turn age of universe to redshift
- syntheticstellarpopconvolve.cosmology_utils.lookback_time_to_redshift(lookback_time, cosmology)[source]
Function to calculate the redshift corresponding to a lookback time
Parameters
- lookback_timefloat
Lookback time to be converted to redshift. Assumed to be in Gyr.
- cosmologyastropy_cosmology
astropy cosmology object used to convert redshift and time.
Returns
- TYPE
Description