rail.evaluation.metrics.pointestimates module
- class rail.evaluation.metrics.pointestimates.PointBias(pzvec, szvec)[source]
Bases:
PointStatsEzcalculates the bias of the ez and ez_magcut samples.
In keeping with the Science Book, this is just the median of the ez values
- class rail.evaluation.metrics.pointestimates.PointOutlierRate(pzvec, szvec)[source]
Bases:
PointStatsEzCalculates the catastrophic outlier rate, defined in the Science Book as the number of galaxies with ez larger than max(0.06,3sigma). This keeps the fraction reasonable when sigma is very small.
- class rail.evaluation.metrics.pointestimates.PointSigmaIQR(pzvec, szvec)[source]
Bases:
PointStatsEzCalculate sigmaIQR
- class rail.evaluation.metrics.pointestimates.PointSigmaMAD(pzvec, szvec)[source]
Bases:
PointStatsEzFunction to calculate median absolute deviation and sigma based on MAD (just scaled up by 1.4826) for the full and magnitude trimmed samples of ez values
- class rail.evaluation.metrics.pointestimates.PointStatsEz(pzvec, szvec)[source]
Bases:
MetricEvaluatorCopied from PZDC1paper repo. Adapted to remove the cut based on magnitude.