DiscoveryNChancesMetric

class rubin_sim.maf.metrics.DiscoveryNChancesMetric(parent_discovery_metric, badval=0, **kwargs)

Bases: BaseChildMetric

Calculate total number of discovery opportunities for an SSobject.

Retirms total number of discovery opportunities. Child metric to be used with the Discovery Metric.

Methods Summary

run(sso_obs, orb, hval, metric_values)

Return the number of different discovery chances we had for each object/H combination.

Methods Documentation

run(sso_obs, orb, hval, metric_values)

Return the number of different discovery chances we had for each object/H combination.