SurfaceBrightLimitMetric

class rubin_sim.maf.metrics.SurfaceBrightLimitMetric(pixscale=0.2, nsigma=3.0, tot_area=100.0, filter_col='filter', units='mag/sq arcsec', airmass_col='airmass', exptime_col='visitExposureTime', metric_name='SurfaceBrightLimit', skybrightness_col='skyBrightness', nexp_col='numExposures', zpt=None, k_atm=None, readnoise=8.8, **kwargs)

Bases: BaseMetric

Gaussian limit, ignoring systematic errors in photometry

Parameters:
pixscalefloat (0.2)

Pixelscale, Arcseconds per pixel

nsigmafloat (3)

The detection limit (usuall 3 or 5)

tot_areafloat (100)

Total sky area summed over, square arcseconds

zptdict of float (None)

telescope zeropoints. If None, computed from phot_utils

k_atmdict of float (None)

Atmospheric extinction parameters. If None, computed from phot_utils

readnoisefloat (8.8)

Readnoise in electrons

Methods Summary

run(data_slice, slice_point)

Calculate metric values.

Methods Documentation

run(data_slice, slice_point)

Calculate metric values.

Parameters:
data_slicenumpy.recarray

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.

Returns:
metricValue: int float or object

The metric value at each slice_point.