class rubin_sim.maf.metrics.GalPlaneVisitIntervalsTimescaleMetric(science_map, tau_obs=None, mag_limit=22.0, mjd_col='observationStartMJD', m5_col='fiveSigmaDepth', **kwargs)

Bases: BaseMetric

Evaluate the intervals between sequential observations in a lightcurve relative to the scientifically desired sampling interval.


Name of the priority footprint map key to use from the column headers contained in the priority_GalPlane_footprint_map_data tables.

tau_obsnp.ndarray or list of float, opt

Timescales of minimum-required observations intervals for various classes of time variability. Default (None), uses TAU_OBS. In general, this should be left as the default and consistent across all galactic-plane oriented metrics.

mag_limitfloat, opt

Magnitude limit to use as a cutoff for various observations. Default 22.0.

mjd_colstr, opt

The name of the observation start MJD column. Default ‘observationStartMJD’.

m5_col`str’, opt

The name of the five sigma depth column. Default ‘fiveSigmaDepth’.

Methods Summary

run(data_slice[, slice_point])

Calculate metric values.

Methods Documentation

run(data_slice, slice_point=None)

Calculate metric values.


Values passed to metric by the slicer, which the metric will use to calculate metric values at each slice_point.

slice_pointdict or None

Dictionary of slice_point metadata passed to each metric. E.g. the ra/dec of the healpix pixel or opsim fieldId.

metricValue: int float or object

The metric value at each slice_point.