BuildConfig
Options controlling how a UVIS observation is turned into a FITS product.
Usage
BuildConfig(
calibration="pyuvis",
background=Background(),
write_pds4_label=True,
fits_version=1.0
)Attributes
calibration: CalibrationSource-
Where the calibrated cube +
CAL_FACTORcome from:"pyuvis"(default) — derive the cal factor from the archived PDS product viapyuvis(counts x PDS cal matrix -> kR). Thin glue, modern path; not wired yet (blocked on real-data ingest)."stored"— recalibration: reuse theCAL_FACTORread back from an existing FITS verbatim and only re-apply the background offset. The working path for~cubegenpy.sources.FitsReadbackSource."regenerate"— reserved seam for the ported IDLGet_UVIS_calibration(“Ultimate” Greg Holsclaw time-varying cal) /~cubegenpy.calibrate.SpicaCalModel. Raises until implemented."none"— debug passthrough: fill the primary HDU with counts/sec (unit cal factor); the realCAL_FACTORHDU is still written.
background: Background-
How much background to subtract before calibration, as a
~cubegenpy.calibrate.Backgroundvalue (not a bool, so it can carry the RTG dark rate or a spectral-average band). Defaults tomode="none". write_pds4_label: bool-
Emit the sibling draft PDS4 XML label.
fits_version: float-
Value written to the primary-header
VERSIONkeyword.
Methods
| Name | Description |
|---|---|
| summary() |
One-line provenance string (successor to cg_settings_print).
|
summary()
One-line provenance string (successor to cg_settings_print).
Usage
summary()