Spec2Pipeline¶
-
class
jwst.pipeline.
Spec2Pipeline
(*args, **kwargs)[source]¶ Bases:
jwst.stpipe.Pipeline
Spec2Pipeline: Processes JWST spectroscopic exposures from Level 2a to 2b. Accepts a single exposure or an association as input.
Included steps are: assign_wcs, background subtraction, NIRSpec MSA imprint subtraction, NIRSpec MSA bad shutter flagging, 2-D subwindow extraction, flat field, source type decision, straylight, fringe, pathloss, barshadow, photom, resample_spec, cube_build, and extract_1d.
See
Step.__init__
for the parameters.Attributes Summary
spec
step_defs
Methods Summary
process
(input)Entrypoint for this pipeline process_exposure_product
(exp_product[, …])Process an exposure found in the association product Attributes Documentation
-
spec
= '\n save_bsub = boolean(default=False) # Save background-subracted science\n fail_on_exception = boolean(default=True) # Fail if any product fails.\n '¶
-
step_defs
= {'assign_wcs': <class 'jwst.assign_wcs.assign_wcs_step.AssignWcsStep'>, 'barshadow': <class 'jwst.barshadow.barshadow_step.BarShadowStep'>, 'bkg_subtract': <class 'jwst.background.background_step.BackgroundStep'>, 'cube_build': <class 'jwst.cube_build.cube_build_step.CubeBuildStep'>, 'extract_1d': <class 'jwst.extract_1d.extract_1d_step.Extract1dStep'>, 'extract_2d': <class 'jwst.extract_2d.extract_2d_step.Extract2dStep'>, 'flat_field': <class 'jwst.flatfield.flat_field_step.FlatFieldStep'>, 'fringe': <class 'jwst.fringe.fringe_step.FringeStep'>, 'imprint_subtract': <class 'jwst.imprint.imprint_step.ImprintStep'>, 'msa_flagging': <class 'jwst.msaflagopen.msaflagopen_step.MSAFlagOpenStep'>, 'pathloss': <class 'jwst.pathloss.pathloss_step.PathLossStep'>, 'photom': <class 'jwst.photom.photom_step.PhotomStep'>, 'resample_spec': <class 'jwst.resample.resample_spec_step.ResampleSpecStep'>, 'srctype': <class 'jwst.srctype.srctype_step.SourceTypeStep'>, 'straylight': <class 'jwst.straylight.straylight_step.StraylightStep'>}¶
Methods Documentation
-