threeML.config.plugin_structure module¶
- class threeML.config.plugin_structure.LightCurveMethodSwitch(value)[source]¶
Bases:
enum.Flag
An enumeration.
- bayes = True¶
- mle = False¶
- class threeML.config.plugin_structure.OGIP(fit_plot: threeML.config.plotting_structure.BinnedSpectrumPlot = BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None), data_plot: threeML.config.plotting_structure.DataHistPlot = DataHistPlot(counts_color='#500472', background_color='#79cbb8', warn_channels_color='#C79BFE', bad_channels_color='#FE3131', masked_channels_color='#566573'), response_cmap: threeML.config.plotting_structure.MPLCmap = <MPLCmap.viridis: 'viridis'>, response_zero_color: str = 'k')[source]¶
Bases:
object
- data_plot: threeML.config.plotting_structure.DataHistPlot = DataHistPlot(counts_color='#500472', background_color='#79cbb8', warn_channels_color='#C79BFE', bad_channels_color='#FE3131', masked_channels_color='#566573')¶
- fit_plot: threeML.config.plotting_structure.BinnedSpectrumPlot = BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None)¶
- response_cmap: threeML.config.plotting_structure.MPLCmap = 'viridis'¶
- response_zero_color: str = 'k'¶
- class threeML.config.plugin_structure.Photo(fit_plot: threeML.config.plotting_structure.BinnedSpectrumPlot = BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None))[source]¶
Bases:
object
- fit_plot: threeML.config.plotting_structure.BinnedSpectrumPlot = BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None)¶
- class threeML.config.plugin_structure.Plugins(ogip: threeML.config.plugin_structure.OGIP = OGIP(fit_plot=BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None), data_plot=DataHistPlot(counts_color='#500472', background_color='#79cbb8', warn_channels_color='#C79BFE', bad_channels_color='#FE3131', masked_channels_color='#566573'), response_cmap=<MPLCmap.viridis: 'viridis'>, response_zero_color='k'), photo: threeML.config.plugin_structure.Photo = Photo(fit_plot=BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None)))[source]¶
Bases:
object
- ogip: threeML.config.plugin_structure.OGIP = OGIP(fit_plot=BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None), data_plot=DataHistPlot(counts_color='#500472', background_color='#79cbb8', warn_channels_color='#C79BFE', bad_channels_color='#FE3131', masked_channels_color='#566573'), response_cmap=<MPLCmap.viridis: 'viridis'>, response_zero_color='k')¶
- photo: threeML.config.plugin_structure.Photo = Photo(fit_plot=BinnedSpectrumPlot(data_cmap=<MPLCmap.Set1: 'Set1'>, model_cmap=<MPLCmap.Set1: 'Set1'>, background_cmap=<MPLCmap.Set1: 'Set1'>, n_colors=5, step=False, show_legend=True, show_residuals=True, data_color=None, model_color=None, background_color=None, show_background=False, data_mpl_kwargs=None, model_mpl_kwargs=None, background_mpl_kwargs=None))¶
- class threeML.config.plugin_structure.TimeSeries(light_curve_color: str = '#05716c', selection_color: str = '#1fbfb8', background_color: str = '#C0392B', background_selection_color: str = '#E74C3C', default_fit_method: Union[threeML.config.plugin_structure.LightCurveMethodSwitch, NoneType] = None)[source]¶
Bases:
object
- background_color: str = '#C0392B'¶
- background_selection_color: str = '#E74C3C'¶
- default_fit_method: Optional[threeML.config.plugin_structure.LightCurveMethodSwitch] = None¶
- light_curve_color: str = '#05716c'¶
- selection_color: str = '#1fbfb8'¶