hispecdrp.primitives.trace_fitting.traceprof_primitive
Classes
|
Build the 2-D trace profile from fiberflat rate maps. |
- class TraceProfilePrimitive(dataset=None, config=None, context=None, log_config=None, parent=None, **kwargs)[source]
Bases:
BasePrimitiveBuild the 2-D trace profile from fiberflat rate maps.
When an LFC rate map (and trace positions) are supplied, also measure spectroperfection moments: iso-λ shear and spectral/spatial 2nd moments.
- Parameters:
lfc (DataModel or path or None) – Simulated or observed LFC L0 (2-D rate). Required for shear / LSF moments used by
method='spectroperfection'.tracepos (TracePosModel or path or None) – Trace positions for moment windows. Required with
lfc.extraction_aperture (float) – Cross-dispersion window for moment measurement.
orders (list[int] or None) – Restrict moment measurement to these echelle orders.
Noneuses all.