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 = <factory>, absorption_models: astromodels.utils.config_structure.AbsorptionModels = <factory>, modeling: astromodels.utils.config_structure.Modeling = <factory>)[source]
Bases:
object
- absorption_models: AbsorptionModels
- 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', info_style: str = 'medium_spring_green', warn_style: str = 'medium_orchid', error_style: str = 'blink bold bright_red', debug_style: str = 'blue_violet', message_style: str = 'bold grey78')[source]
Bases:
object
- console: bool = 'on'
- debug_style: str = 'blue_violet'
- developer: bool = 'off'
- error_style: str = 'blink bold bright_red'
- info_style: str = 'medium_spring_green'
- level: LoggingLevel = 20
- message_style: str = 'bold grey78'
- path: str = '~/.astromodels/log'
- startup_warnings: bool = 'on'
- usr: bool = 'on'
- warn_style: str = 'medium_orchid'