rail.plotting.nz_plotters module

class rail.plotting.nz_plotters.NZPlotterTomoBins(**kwargs)[source]

Bases: RailPlotter

Class to make a histogram of all the nz distributions

Parameters:

kwargs (Any)

config_options: dict[str, StageParameter] = {'n_zbins': Parameter(Number of z bins, type: <class 'int'>, default: 50 [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 RailNZTomoBinsDataset

class rail.plotting.nz_plotters.RailNZTomoBinsDataset[source]

Bases: RailDataset

Dataet to hold a n(z) distributions for a set of tomographic bins and the correspoding true n(z) distributions.

data_types: dict[str, type] = {'nz_estimates': <class 'qp.core.ensemble.Ensemble'>, 'truth': <class 'qp.core.ensemble.Ensemble'>}