check_and_update_convolution_config module

Function to handle checking the convolution configuration

TODO: handle logic of SFR TODO: in the SFR dict use ONLY the (dP/dz)*dZ array. let the rest be constructed from there TODO: make sure that redshift is supported in sampling (we need to use the time bin sizes instead of lookback time bin sizes)

syntheticstellarpopconvolve.check_and_update_convolution_config.check_and_update_convolution_config(config)[source]

Main function to check and update the convolution config

syntheticstellarpopconvolve.check_and_update_convolution_config.check_convolution_config(config)[source]

Function to handle checking the convolution config

TODO: move this to another file

syntheticstellarpopconvolve.check_and_update_convolution_config.check_convolution_config_general(config)[source]

Function to handle the general checking of convolution config input.

This will not check the sfr-dicts, the convolution-instructions, or perform complicated logical checks

syntheticstellarpopconvolve.check_and_update_convolution_config.check_convolution_config_other(config)[source]

Function to perform some extra custom checks on the convolution config. This can contain more complicated logic

syntheticstellarpopconvolve.check_and_update_convolution_config.update_convolution_config(config)[source]

Function to calculate some extra quantities based on input