rail.estimation.algos.gaussian_pz module

A summarizer that simple makes a histogram of a point estimate

class rail.estimation.algos.gaussian_pz.GaussianPzEstimator

Bases: PzEstimator

Estimator which converts to Gaussian reps

Parameters:
  • output_mode ([str] default=default) – What to do with the outputs. The options are ‘default’, where outputs will be written to files and some returned, and ‘return’, where outputs will only be returned and not written.

  • chunk_size ([int] default=10000) – Number of objects per chunk for parallel processing or to evalute per loop in single node processing

  • hdf5_groupname ([str] default=photometry) – name of hdf5 group for data, if None, then set to ‘’

  • calculated_point_estimates ([list] default=[]) – List of strings defining which point estimates to automatically calculate using qp.Ensemble.Options include, ‘mean’, ‘mode’, ‘median’.

  • recompute_point_estimates ([bool] default=False) – Force recomputation of point estimates

  • model (ModelHandle (INPUT))

  • input (QPHandle (INPUT))

  • output (QPHandle (OUTPUT))

entrypoint_function: str | None = 'estimate'
interactive_function: str | None = 'gaussian_pz_estimator'
name = 'GaussianPzEstimator'
class rail.estimation.algos.gaussian_pz.GaussianPzInformer

Bases: PzInformer

Placeholder Informer

Parameters:
  • output_mode ([str] default=default) – What to do with the outputs. The options are ‘default’, where outputs will be written to files and some returned, and ‘return’, where outputs will only be returned and not written.

  • hdf5_groupname ([str] default=photometry) – name of hdf5 group for data, if None, then set to ‘’

  • chunk_size ([int] default=10000) – Number of objects per chunk for parallel processing or to evalute per loop in single node processing

  • input (QPHandle (INPUT))

  • truth (TableHandle (INPUT))

  • model (ModelHandle (OUTPUT))

entrypoint_function: str | None = 'inform'
interactive_function: str | None = 'gaussian_pz_informer'
name = 'GaussianPzInformer'