astromodels.utils.config_structure module¶
- class astromodels.utils.config_structure.AbsTables(value)[source]¶
Bases:
enum.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
- ebl_table: astromodels.utils.config_structure.EBLTable = 'dominguez'¶
- phabs_table: astromodels.utils.config_structure.AbsTables = 'AG89'¶
- tbabs_table: astromodels.utils.config_structure.AbsTables = 'WILM'¶
- 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'>))[source]¶
Bases:
object
- absorption_models: astromodels.utils.config_structure.AbsorptionModels = AbsorptionModels(tbabs_table=<AbsTables.WILM: 'WILM'>, phabs_table=<AbsTables.AG89: 'AG89'>, ebl_table=<EBLTable.dominguez: 'dominguez'>)¶
- logging: astromodels.utils.config_structure.Logging = Logging(path='~/.astromodels/log', developer='off', usr='on', console='on', level=<LoggingLevel.INFO: 20>, startup_warnings='on')¶
- class astromodels.utils.config_structure.EBLTable(value)[source]¶
Bases:
enum.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: astromodels.utils.config_structure.LoggingLevel = 20¶
- path: str = '~/.astromodels/log'¶
- startup_warnings: bool = 'on'¶
- usr: bool = 'on'¶