GalPlaneVisitIntervalsTimescaleMetric¶
- 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.
- Parameters:
- science_map
str
Name of the priority footprint map key to use from the column headers contained in the priority_GalPlane_footprint_map_data tables.
- tau_obs
np.ndarray
orlist
offloat
, 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_limit
float
, opt Magnitude limit to use as a cutoff for various observations. Default 22.0.
- mjd_col
str
, 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’.
- science_map
Methods Summary
run
(data_slice[, slice_point])Calculate metric values.
Methods Documentation
- run(data_slice, slice_point=None)¶
Calculate metric values.
- Parameters:
- data_slice
numpy.recarray
Values passed to metric by the slicer, which the metric will use to calculate metric values at each slice_point.
- slice_point
dict
or None Dictionary of slice_point metadata passed to each metric. E.g. the ra/dec of the healpix pixel or opsim fieldId.
- data_slice
- Returns: