astromodels.utils.config_structure module
- class astromodels.utils.config_structure.AbsTables(value)[source]
Bases:
Enum
An enumeration.
- AG89 = 'AG89'
- ASPL = 'ASPL'
- WILM = 'WILM'
- class astromodels.utils.config_structure.AbsorptionModels(tbabs_table: astromodels.utils.config_structure.AbsTables = <AbsTables.WILM: 'WILM'>, phabs_table: astromodels.utils.config_structure.AbsTables = <AbsTables.AG89: 'AG89'>, ebl_table: astromodels.utils.config_structure.EBLTable = <EBLTable.dominguez: 'dominguez'>)[source]
Bases:
object
- class astromodels.utils.config_structure.Config(logging: astromodels.utils.config_structure.Logging = Logging(path='~/.astromodels/log', developer='off', usr='on', console='on', level=<LoggingLevel.INFO: 20>, startup_warnings='on'), absorption_models: astromodels.utils.config_structure.AbsorptionModels = AbsorptionModels(tbabs_table=<AbsTables.WILM: 'WILM'>, phabs_table=<AbsTables.AG89: 'AG89'>, ebl_table=<EBLTable.dominguez: 'dominguez'>), modeling: astromodels.utils.config_structure.Modeling = Modeling(use_memoization=True, use_parameter_transforms=True, ignore_parameter_bounds=False))[source]
Bases:
object
- absorption_models: AbsorptionModels = AbsorptionModels(tbabs_table=<AbsTables.WILM: 'WILM'>, phabs_table=<AbsTables.AG89: 'AG89'>, ebl_table=<EBLTable.dominguez: 'dominguez'>)
- class astromodels.utils.config_structure.EBLTable(value)[source]
Bases:
Enum
An enumeration.
- dominguez = 'dominguez'
- franceschini = 'franceschini'
- gilmore = 'gilmore'
- inuoe = 'inuoe'
- kneiske = 'kneiske'
- class astromodels.utils.config_structure.Logging(path: str = '~/.astromodels/log', developer: bool = 'off', usr: bool = 'on', console: bool = 'on', level: astromodels.utils.config_structure.LoggingLevel = <LoggingLevel.INFO: 20>, startup_warnings: bool = 'on')[source]
Bases:
object
- console: bool = 'on'
- developer: bool = 'off'
- level: LoggingLevel = 20
- path: str = '~/.astromodels/log'
- startup_warnings: bool = 'on'
- usr: bool = 'on'