hispecdrp.pipelines.stage2.stage2_pipeline
Functions
|
Classes
|
Stage 2 spectral calibration pipeline. |
- class Stage2Pipeline(dataset=None, config=None, context=None, log_config=None, primitives=None, **kwargs)[source]
Bases:
BasePipelineStage 2 spectral calibration pipeline.
Consumes Level 1 spectra with wavelength grids (e.g. output of
Stage1Pipeline), applies blaze correction to produce calibrated L2 spectra, subtracts sky background using sky fiber, computes barycentric corrections, then runs stellar RV (default line-mask CCF) on that L2 product.Primitives (in order):
- _populate_stellar_rv_ccf_zb_from_barycorr(model)[source]
Set uniform
ccf_zbon the stellar-RV primitive fromBARYCORR.
- init_primitives(context=None, primitives=None)[source]