hispecdrp.primitives.spectral_extraction.iso_lambda_shear
Iso-λ shear from HDF PSF stamps for sheared Horne extraction.
Functions
|
Per-order iso-λ shear |
|
Echelle order numbers for |
|
Measure native-detector shear |
- create_trace_shear_from_sim_hdf(spectrograph, *, fiber=2, n_pix=4096)[source]
Per-order iso-λ shear
∂row/∂colon the oriented spectral-row grid.Shape matches
TracePosModel.pos_fib*:(n_orders, n_pix), withshear[k, x]the spectral-row shift per cross-dispersion pixel at spectral samplexfor echelle order indexk.
- order_list_for_spectrograph(spectrograph)[source]
Echelle order numbers for
spectrograph(public helper).
- psf_stamp_shear_dx_dy(stamp, *, oversample, min_row_flux_frac=0.001)[source]
Measure native-detector shear
dx/dyfrom one oversampled PSF stamp.Stamp layout matches
_deposit_oversampled_psf_numba(): axis 0 is cross-dispersion (y), axis 1 is spectral (x). Returns detector-pixel shear (spectral shift per cross-dispersion pixel).