ExposurePipeline
- class romancal.pipeline.ExposurePipeline(*args, **kwargs)[source]
Bases:
RomanPipelineExposurePipeline: Apply all calibration steps to raw Roman WFI ramps to produce a 2-D slope product. Included steps are documented in the
step_defs.See
Stepfor the parameters.Attributes Summary
Methods Summary
create_fully_saturated_zeroed_image(input_model)Create zeroed-out image file
process(dataset)Process the Roman WFI data
save_model(result, *args, **kwargs)Saves the given model using the step/pipeline's naming scheme
Attributes Documentation
- class_alias = 'roman_elp'
- spec
save_results = boolean(default=False) suffix = string(default="cal")
- step_defs: ClassVar = {'assign_wcs': <class 'romancal.assign_wcs.assign_wcs_step.AssignWcsStep'>, 'dark_current': <class 'romancal.dark_current.dark_current_step.DarkCurrentStep'>, 'dq_init': <class 'romancal.dq_init.dq_init_step.DQInitStep'>, 'flatfield': <class 'romancal.flatfield.flat_field_step.FlatFieldStep'>, 'linearity': <class 'romancal.linearity.linearity_step.LinearityStep'>, 'photom': <class 'romancal.photom.photom_step.PhotomStep'>, 'rampfit': <class 'romancal.ramp_fitting.ramp_fit_step.RampFitStep'>, 'refpix': <class 'romancal.refpix.refpix_step.RefPixStep'>, 'saturation': <class 'romancal.saturation.saturation_step.SaturationStep'>, 'source_catalog': <class 'romancal.source_catalog.source_catalog_step.SourceCatalogStep'>, 'tweakreg': <class 'romancal.tweakreg.tweakreg_step.TweakRegStep'>, 'wfi18_transient': <class 'romancal.wfi18_transient.wfi18_transient_step.WFI18TransientStep'>}
Methods Documentation
- save_model(result, *args, **kwargs)[source]
Saves the given model using the step/pipeline’s naming scheme
- Parameters:
model (a instance of AbstractDataModel) – The model to save.
suffix (str) – The suffix to add to the filename.
idx (object) – Index identifier.
output_file (str) – Use this file name instead of what the Step default would be.
force (bool) – Regardless of whether
save_resultsisFalseand nooutput_fileis specified, try saving.components (dict) – Other components to add to the file name.
- Returns:
output_paths – List of output file paths the model(s) were saved in.
- Return type:
[str[, …]]