RscdStep
- class jwst.rscd.RscdStep(name=None, parent=None, config_file=None, _validate_kwds=True, **kws)[source]
Bases:
JwstStepFlag the first N groups of MIRI data to ‘DO_NOT_USE’ in the 2nd and later integrations.
The number of groups, N, for which to set the GROUPDQ flag to ‘DO_NOT_USE’ is read in from the RSCD reference file. This number depends on the readout model and subarray size. The step checks that the total number of groups in an integration is greater than N+3 before flagging the GROUPDQ array. If the number of groups is less than N+3 then no flagging is performed, because doing so would leave too few groups to work with in later steps.
Create a
Stepinstance.- Parameters:
- namestr
The name of the Step instance. Used in logging messages and in cache filenames. If not provided, one will be generated based on the class name.
- parent
Step The parent step of this step. Used to determine a fully-qualified name for this step, and to determine the mode in which to run this step.
- config_filestr or pathlib.Path
The path to the config file that this step was initialized with. Use to determine relative path names of other config files.
- _validate_kwdsbool
Validate given
kwsagainst specs/config.- **kwsdict
Additional parameters to set. These will be set as member variables on the new Step instance.
Attributes Summary
Methods Summary
process(step_input)Flag the initial groups to 'DO_NOT_USE' in the 2nd and later integrations.
Attributes Documentation
- class_alias = 'rscd'
- reference_file_types: ClassVar = ['rscd']
- spec
Methods Documentation