check_and_update_sfr_dict module

Functions to check and update the SFR dict

TODO: add checks for the dimensions of the input arrays

syntheticstellarpopconvolve.check_and_update_sfr_dict.check_and_update_sfr_dict(sfr_dict, config, requires_name, requires_metallicity_info, time_type)[source]

Function to check the SFR dict for the appropriate content and update

syntheticstellarpopconvolve.check_and_update_sfr_dict.check_and_update_sfr_dicts(config)[source]

Function to check the SFR dict for the appropriate content and update

syntheticstellarpopconvolve.check_and_update_sfr_dict.check_sfr_dict(sfr_dict, config, requires_name, requires_metallicity_info, time_type)[source]

Function to check the sfr dictionary

syntheticstellarpopconvolve.check_and_update_sfr_dict.pad_sfr_dict(config, sfr_dict)[source]

Function to pad the entries in the sfr dictionary with empty bins.

These functions update all the sfr properties and adds new entries that are prepended with ‘padded_

syntheticstellarpopconvolve.check_and_update_sfr_dict.update_sfr_dict(sfr_dict, config)[source]

Function to update the SFR dict - provides padding - adds redshift shell info - updates metallicity-based info