rail.plotting.cat_plotters module
- class rail.plotting.cat_plotters.CatPlotterColorsVsTruth(**kwargs)[source]
Bases:
RailPlotterClass to make 2D histograms of colors versus true redshift in each band
- Parameters:
kwargs (Any)
- config_options: dict[str, StageParameter] = {'color_max': Parameter(Maximum color, type: <class 'float'>, default: 2.0 [optional]), 'color_min': Parameter(Minimum color, type: <class 'float'>, default: -2.0 [optional]), 'n_colorbins': Parameter(Number of color bins, type: <class 'int'>, default: 161 [optional]), 'n_zbins': Parameter(Number of Redshift bins, type: <class 'int'>, default: 151 [optional]), 'name': Parameter(Name for the plotter, type: <class 'str'>, default: 0.0 [optional]), 'z_max': Parameter(Maximum Redshift, type: <class 'float'>, default: 3.0 [optional]), 'z_min': Parameter(Minimum Redshift, type: <class 'float'>, default: 0.0 [optional])}
- input_type
alias of
RailCatTruthAndMagnitudesDataset
- class rail.plotting.cat_plotters.CatPlotterMagntidues(**kwargs)[source]
Bases:
RailPlotterClass to make a histogram magnitudes in each band
- Parameters:
kwargs (Any)
- config_options: dict[str, StageParameter] = {'mag_max': Parameter(Maximum Magnitude, type: <class 'float'>, default: 28.0 [optional]), 'mag_min': Parameter(Minimum Magnitude, type: <class 'float'>, default: 18.0 [optional]), 'n_magbins': Parameter(Number of magnitude bins, type: <class 'int'>, default: 101 [optional]), 'name': Parameter(Name for the plotter, type: <class 'str'>, default: 0.0 [optional])}
- input_type
alias of
RailCatMagnitudesDataset
- class rail.plotting.cat_plotters.CatPlotterMagntiduesVsTruth(**kwargs)[source]
Bases:
RailPlotterClass to make 2D histograms of magntidue versus true redshift in each band
- Parameters:
kwargs (Any)
- config_options: dict[str, StageParameter] = {'mag_max': Parameter(Maximum Magnitude, type: <class 'float'>, default: 25.0 [optional]), 'mag_min': Parameter(Minimum Magnitude, type: <class 'float'>, default: 18.0 [optional]), 'n_magbins': Parameter(Number of magnitude bins, type: <class 'int'>, default: 141 [optional]), 'n_zbins': Parameter(Number of Redshift bins, type: <class 'int'>, default: 151 [optional]), 'name': Parameter(Name for the plotter, type: <class 'str'>, default: 0.0 [optional]), 'z_max': Parameter(Maximum Redshift, type: <class 'float'>, default: 3.0 [optional]), 'z_min': Parameter(Minimum Redshift, type: <class 'float'>, default: 0.0 [optional])}
- input_type
alias of
RailCatTruthAndMagnitudesDataset
- class rail.plotting.cat_plotters.CatPlotterTruth(**kwargs)[source]
Bases:
RailPlotterClass to make a histogram magnitudes in each band
- Parameters:
kwargs (Any)
- config_options: dict[str, StageParameter] = {'n_zbins': Parameter(Number of Redshift bins, type: <class 'int'>, default: 151 [optional]), 'name': Parameter(Name for the plotter, type: <class 'str'>, default: 0.0 [optional]), 'z_max': Parameter(Maximum Redshift, type: <class 'float'>, default: 3.0 [optional]), 'z_min': Parameter(Minimum Redshift, type: <class 'float'>, default: 0.0 [optional])}
- input_type
alias of
RailCatTruthDataset
- class rail.plotting.cat_plotters.RailCatMagnitudesDataset[source]
Bases:
RailDatasetDataset to hold any array of magntidues and list of band names
- data_types: dict[str, type] = {'bands': <class 'list'>, 'magnitudes': <class 'numpy.ndarray'>}
- class rail.plotting.cat_plotters.RailCatTruthAndMagnitudesDataset[source]
Bases:
RailCatTruthDataset,RailCatMagnitudesDatasetDataset to hold any array of magntidues and list of band names and true (or spec) redshifts
- data_types: dict[str, type] = {'bands': <class 'list'>, 'magnitudes': <class 'numpy.ndarray'>, 'truth': <class 'numpy.ndarray'>}
- class rail.plotting.cat_plotters.RailCatTruthDataset[source]
Bases:
RailDatasetDataset to hold any array of true redshifts
- data_types: dict[str, type] = {'truth': <class 'numpy.ndarray'>}