prepare_redshift_interpolator module
Function to prepare the redshift interpolator
- syntheticstellarpopconvolve.prepare_redshift_interpolator.create_interpolation_datasets(config)[source]
Function that generates two datasets: - First a redshift to lookback time dataset - Then we turn it around and use the result to set up a lookback time to redshift dataset (this is much faster, we can increase the resolution while still being off faster)
- syntheticstellarpopconvolve.prepare_redshift_interpolator.load_interpolation_data(config)[source]
Function to load the interpolation dataset and return the loaded interpolators
if rebuild_when_settings_not_match: we build the dataset based on the settings we passed
- Returns:
redshift_to_lookback_time interpolator
lookback_time_to_redshift interpolator