popsynth.utils.configuration module

class popsynth.utils.configuration.Cosmology(Om: float = 0.307, h0: float = 67.7)[source]

Bases: object

Om = 0.307
__init__(Om: float = 0.307, h0: float = 67.7) → None
h0 = 67.7
class popsynth.utils.configuration.LogConsole(on: bool = True, level: str = 'WARNING')[source]

Bases: object

__init__(on: bool = True, level: str = 'WARNING') → None
level = 'WARNING'
on = True
class popsynth.utils.configuration.LogFile(on: bool = True, level: str = 'WARNING')[source]

Bases: object

__init__(on: bool = True, level: str = 'WARNING') → None
level = 'WARNING'
on = True
class popsynth.utils.configuration.Logging(debug: bool = False, console: popsynth.utils.configuration.LogConsole = LogConsole(on=True, level='WARNING'), file: popsynth.utils.configuration.LogFile = LogFile(on=True, level='WARNING'))[source]

Bases: object

__init__(debug: bool = False, console: popsynth.utils.configuration.LogConsole = LogConsole(on=True, level='WARNING'), file: popsynth.utils.configuration.LogFile = LogFile(on=True, level='WARNING')) → None
console = LogConsole(on=True, level='WARNING')
debug = False
file = LogFile(on=True, level='WARNING')
class popsynth.utils.configuration.PopSynthConfig(logging: popsynth.utils.configuration.Logging = Logging(debug=False, console=LogConsole(on=True, level='WARNING'), file=LogFile(on=True, level='WARNING')), cosmology: popsynth.utils.configuration.Cosmology = Cosmology(Om=0.307, h0=67.7), show_progress: bool = True)[source]

Bases: object

__init__(logging: popsynth.utils.configuration.Logging = Logging(debug=False, console=LogConsole(on=True, level='WARNING'), file=LogFile(on=True, level='WARNING')), cosmology: popsynth.utils.configuration.Cosmology = Cosmology(Om=0.307, h0=67.7), show_progress: bool = True) → None
cosmology = Cosmology(Om=0.307, h0=67.7)
logging = Logging(debug=False, console=LogConsole(on=True, level='WARNING'), file=LogFile(on=True, level='WARNING'))
show_progress = True