popsynth.utils.configuration module

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

Bases: object

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

Bases: object

on: bool = True
level: str = 'WARNING'
__init__(on: bool = True, level: str = 'WARNING') None
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

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

Bases: object

Om: float = 0.307
h0: float = 67.7
__init__(Om: float = 0.307, h0: float = 67.7) None
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

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