PreprocessFlatfield

class iris_pipeline.PreprocessFlatfield(*args, **kwargs)[source] [edit on github]

Bases: jwst.stpipe.Pipeline

PreprocessFlatfield: Remove dark and normalize exposure to create a flat field to be later added to the CRDS.

Included steps are: dark_current, normalize

See Step.__init__ for the parameters.

Attributes Summary

step_defs

Methods Summary

process(self, input)

This is where real work happens.

process_exposure_product(self, exp_product)

Process an exposure found in the association product

Attributes Documentation

step_defs = {'dark_current': <class 'iris_pipeline.dark_current.dark_current_step.DarkCurrentStep'>, 'normalize': <class 'iris_pipeline.normalize.normalize_step.NormalizeStep'>}

Methods Documentation

process(self, input)[source] [edit on github]

This is where real work happens. Every Step subclass has to override this method. The default behaviour is to raise a NotImplementedError exception.

process_exposure_product(self, exp_product, pool_name=' ', asn_file=' ')[source] [edit on github]

Process an exposure found in the association product

Parameters
exp_product: dict

A Level2b association product.

pool_name: str

The pool file name. Used for recording purposes only.

asn_file: str

The name of the association file. Used for recording purposes only.