visit_grism_sky¶
- grizli.prep.visit_grism_sky(grism={}, apply=True, column_average=True, verbose=True, ext=1, sky_iter=10, iter_atol=0.0001, use_spline=True, NXSPL=50, skip_nircam=True, ignoreNA=False)[source]¶
Subtract sky background from grism exposures
Implementation of the multi-component grism sky subtraction from WFC3/ISR 2015-17
- Parameters
- grismdict
Grism exposure dictionary (
product
,files
).- applybool
Apply the computed sky background subtraction to the grism exposures.
- column_averagebool
Use column average to compute the sky background.
- verbosebool
Print status messages.
- extint
FITS extension to use for the sky subtraction.s
- sky_iterint
Number of iterations for the sky subtraction.
- iter_atolfloat
Absolute tolerance for the sky subtraction iterations.
- use_splinebool
Use spline interpolation for the sky background.
- NXSPLint
Number of spline knots for the sky background.
- skip_nircambool
Skip NIRCam grism exposures.
- ignoreNAbool
Ignore “N/A” reference files.
- Returns
- Nothing, sky background subtracted from the grism exposures in place.