WfDonutResult#
- class lsst.ts.wep.blitz.WfDonutResult(donut_id, det_name, visit_id, zk_dev, zk_intrinsic, img, model_img, fit_success, fit_elapsed, setup_elapsed, fit_nfev, fit_cost, fit_optimality, fit_njev, fit_outcome, fit_dx, fit_dy, fit_flux, fit_fwhm, blend_frac, group_id, group_size, fit_bkg=None)#
Bases:
objectOne donut’s wavefront-fit outputs, produced by
_wf_worker.Consumed by
_build_donut_catalog, keyed by(donut_id, det_name, visit_id). A fit that timed out or raised still produces a WfDonutResult withfit_success=Falseand all-NaN Zernikes;fit_outcomesays which.visit_idis part of the key because full-array mode fits the same star on the same detector twice, once per side of focus, so(donut_id, det_name)alone is ambiguous there. Corner mode has one visit per quantum, so including it changes nothing.- zk_dev#
Dense Noll 0..``_ZK_JMAX`` wavefront deviations in meters, NaN where unfit.
- Type:
numpy.ndarray
- zk_intrinsic#
Dense Noll 0..``_ZK_JMAX`` intrinsic Zernikes in meters.
- Type:
numpy.ndarray
- img, model_img
The binned data and model images, or None.
- Type:
numpy.ndarray or None
- fit_elapsed, setup_elapsed
Fit and setup wall-clock in seconds.
- Type:
- fit_nfev, fit_njev
Function and Jacobian evaluation counts.
- Type:
- fit_cost, fit_optimality
Final cost and first-order optimality of the fit.
- Type:
- fit_outcome#
Which mutually exclusive fit path produced this result.
- Type:
FitOutcome
- fit_dx, fit_dy
Fitted centroid offsets in arcseconds.
- Type:
- fit_bkg#
Danish’s fitted background coefficients, length
model.nbkg; None where no fit produced them, empty atbkgOrder=-1.- Type:
numpy.ndarray or None, optional
- Parameters:
donut_id (
int)det_name (
str)visit_id (
int)img (
ndarray|None)model_img (
ndarray|None)fit_success (
bool)fit_elapsed (
float)setup_elapsed (
float)fit_nfev (
int)fit_cost (
float)fit_optimality (
float)fit_njev (
int)fit_outcome (
Literal['ok','nonconvergent','timeout','exception','x0_only',''])fit_dx (
float)fit_dy (
float)fit_flux (
float)fit_fwhm (
float)blend_frac (
float)group_id (
str)group_size (
int)fit_bkg (
ndarray[tuple[Any,...],dtype[float64]] |None, default:None)
Attributes Summary
Attributes Documentation