class rubin_sim.maf.metrics.NObsNoSinglesMetric(snr_limit=None, **kwargs)

Bases: BaseMoMetric

Count the number of observations for an SSobject, without singles. Don’t include any observations where it was a single observation on a night.

Methods Summary

run(sso_obs, orb, hval)

Calculate the metric value.

Methods Documentation

run(sso_obs, orb, hval)

Calculate the metric value.

sso_obs: np.ndarray

The input data to the metric (same as the parent metric).

orb: np.ndarray

The information about the orbit for which the metric is being calculated.


The H value for which the metric is being calculated.

float or np.ndarray or dict