Donut#
- class lsst.ts.wep.blitz.Donut(det_name, stamp, thx_ccs, thy_ccs, flux, band, det_id, visit_id, x_det, y_det, donut_id, inner_frac, outer_frac, outer_asym, donut_radius, snr, bkg, bkg_std, n_quarter, photo_mag, astrom_mag, nearby_photo, nearby_astrom, coord_ra=nan, coord_dec=nan, intrinsic_zk=None, defocal_offsets=None, rejected_sat=False, rejected_inner_frac=False, rejected_outer_frac=False, rejected_outer_asym=False, rejected_snr=False, rejected_nan_intrinsics=False, rejected=False)#
Bases:
objectOne cut donut stamp with its selection/quality metrics.
- stamp#
The cut stamp pixels, in the camera coordinate system (CCS).
- Type:
numpy.ndarray or None
- thx_ccs, thy_ccs
Field angle of the donut in CCS, in radians.
- Type:
- x_det, y_det
Un-rounded centroid in detector pixels.
- Type:
- donut_id#
Donut id – a refcat source id on the refcat path, a per-detector 1..N counter on the blitz-detection path.
- Type:
- inner_frac, outer_frac
Inner/outer flux-fraction geometry metrics.
- Type:
- outer_asym#
Azimuthal asymmetry of the outer background annulus: the spread between its brightest and faintest octant, as a fraction of the donut’s flux. Large for a blend or a close neighbor.
- Type:
- bkg, bkg_std
Local background level and its standard deviation.
- Type:
- n_quarter#
Detector orientation as a count of 90-degree rotations, relating the CCS stamp to
x_det/y_det.- Type:
- photo_mag, astrom_mag
The donut’s own refcat magnitudes, NaN on the blitz-detection path where there is no refcat.
- Type:
- nearby_photo, nearby_astrom
Neighboring refcat sources inside the stamp box as
(dx, dy, mag), offset from(x_det, y_det)and excluding this donut itself.
- coord_ra, coord_dec
Refcat sky position in radians, NaN on the blitz-detection path. A finite value means the donut was matched to a catalog source.
- Type:
float, optional
- intrinsic_zk#
Intrinsic Zernike coefficients for this field position, or None.
- Type:
numpy.ndarray or None, optional
- defocal_offsets#
The signed optic z shifts in meters that put this donut off focus, ordered
(detector, camera, m2).
- rejected_sat, rejected_inner_frac, rejected_outer_frac
Per-cut rejection flags; True means the donut failed that cut.
- Type:
bool, optional
- rejected_outer_asym#
Outer-asymmetry rejection flag; True means the donut failed the
outer_asymcut.- Type:
bool, optional
- rejected_nan_intrinsics#
Non-finite-intrinsics flag; True means the donut’s measured intrinsic Zernikes were not all finite (field-angle extrapolation can return NaN past the first terms), so it was kept out of wavefront fitting.
- Type:
bool, optional
- Parameters:
det_name (
str)thx_ccs (
float)thy_ccs (
float)flux (
float)band (
str)det_id (
int)visit_id (
int)x_det (
float)y_det (
float)donut_id (
int)inner_frac (
float)outer_frac (
float)outer_asym (
float)donut_radius (
float)snr (
float)bkg (
float)bkg_std (
float)n_quarter (
int)photo_mag (
float)astrom_mag (
float)coord_ra (
float, default:nan)coord_dec (
float, default:nan)intrinsic_zk (
ndarray[tuple[Any,...],dtype[float64]] |None, default:None)defocal_offsets (
tuple[float,float,float] |None, default:None)rejected_sat (
bool, default:False)rejected_inner_frac (
bool, default:False)rejected_outer_frac (
bool, default:False)rejected_outer_asym (
bool, default:False)rejected_snr (
bool, default:False)rejected_nan_intrinsics (
bool, default:False)rejected (
bool, default:False)
Attributes Summary
Attributes Documentation