threeML.config.config_structure module

class threeML.config.config_structure.Config(logging: threeML.config.config_structure.Logging = <factory>, parallel: threeML.config.config_structure.Parallel = <factory>, interface: threeML.config.config_structure.Interface = <factory>, plugins: threeML.config.plugin_structure.Plugins = <factory>, time_series: threeML.config.plugin_structure.TimeSeries = <factory>, mle: threeML.config.fitting_structure.MLEDefault = <factory>, bayesian: threeML.config.fitting_structure.BayesianDefault = <factory>, plotting: threeML.config.plotting_structure.GenericPlotting = <factory>, model_plot: threeML.config.plotting_structure.ModelPlotting = <factory>, point_source: threeML.config.point_source_structure.PointSourceDefaults = <factory>, LAT: threeML.config.catalog_structure.PublicDataServer = <factory>, GBM: threeML.config.catalog_structure.PublicDataServer = <factory>, catalogs: threeML.config.catalog_structure.Catalogs = <factory>)[source]

Bases: object

GBM: PublicDataServer
LAT: PublicDataServer
bayesian: BayesianDefault
catalogs: Catalogs
interface: Interface
logging: Logging
mle: MLEDefault
model_plot: ModelPlotting
parallel: Parallel
plotting: GenericPlotting
plugins: Plugins
point_source: PointSourceDefaults
time_series: TimeSeries
class threeML.config.config_structure.Interface(progress_bars: bool = 'on', multi_progress_color: bool = 'on', multi_progress_cmap: str = 'viridis', progress_bar_color: str = '#9C04FF')[source]

Bases: object

multi_progress_cmap: str = 'viridis'
multi_progress_color: bool = 'on'
progress_bar_color: str = '#9C04FF'
progress_bars: bool = 'on'
class threeML.config.config_structure.Logging(path: str = '~/.threeml/log', developer: bool = 'off', usr: bool = 'on', console: bool = 'on', level: threeML.config.config_structure.LoggingLevel = <LoggingLevel.INFO: 20>, startup_warnings: bool = 'on')[source]

Bases: object

console: bool = 'on'
developer: bool = 'off'
level: LoggingLevel = 20
path: str = '~/.threeml/log'
startup_warnings: bool = 'on'
usr: bool = 'on'
class threeML.config.config_structure.LoggingLevel(value)[source]

Bases: IntEnum

An enumeration.

CRITICAL = 50
DEBUG = 10
ERROR = 40
INFO = 20
WARNING = 30
class threeML.config.config_structure.Parallel(profile_name: str = 'default', use_parallel: bool = False, use_joblib: bool = False)[source]

Bases: object

profile_name: str = 'default'
use_joblib: bool = False
use_parallel: bool = False