GWForge.population_fisher.config¶
Configuration handling for gwforge_population_fisher.
Attributes¶
Functions¶
|
Read the |
|
Build the fiducial |
|
Assemble the population model the config describes. |
|
Which blocks to refit to the injections, and which to only check. |
|
Read the |
|
Read the |
Module Contents¶
- GWForge.population_fisher.config.catalogue_settings(config, section='Catalogue')[source]¶
Read the
[Catalogue]section.- Returns:
population_file,snr_file,detectors,snr_thresholds.- Return type:
dict
- GWForge.population_fisher.config.cosmology_settings(config, section='Model')[source]¶
Build the fiducial
GWForge.cosmology.FlatwCDM.- Return type:
- GWForge.population_fisher.config.build_model(config, section='Model')[source]¶
Assemble the population model the config describes.
- Parameters:
config (configparser.ConfigParser)
section (str)
- Returns:
(model, blocks, sub_models, cosmology).sub_modelsmaps block name to the source-frame model, which the fit stage needs even when the Fisher runs on the detector-frame wrapper.- Return type:
tuple
- Raises:
ValueError – For an unknown block, or
cosmologywithoutmassandredshift.
- GWForge.population_fisher.config.fit_settings(config, section='Fit')[source]¶
Which blocks to refit to the injections, and which to only check.
- Returns:
Block name to bool.
- Return type:
dict