Skip to content

Commit

Permalink
cleanup elp
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 19, 2024
1 parent 69419b0 commit b6ac77a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions romancal/pipeline/exposure_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@
class ExposurePipeline(RomanPipeline):
"""
ExposurePipeline: Apply all calibration steps to raw Roman WFI
ramps to produce a 2-D slope product. Included steps are:
dq_init, saturation, linearity, dark current, jump detection, ramp_fit,
assign_wcs, flatfield (only applied to WFI imaging data), photom,
and source_detection.
ramps to produce a 2-D slope product. Included steps are documented
in the ``step_defs``.
"""

class_alias = "roman_elp"
Expand Down Expand Up @@ -103,12 +101,10 @@ def process(self, input):
"assign_wcs",
"flat_field",
"photom",
"source_detection",
"dark",
"refpix",
"linearity",
"ramp_fit",
"jump",
"tweakreg",
]:
result.meta.cal_step[step_str] = "SKIPPED"
Expand All @@ -135,8 +131,7 @@ def process(self, input):
log.info("Tweakreg step is being SKIPPED")
result.meta.cal_step.flat_field = "SKIPPED"
result.meta.cal_step.photom = "SKIPPED"
result.meta.cal_step.source_detection = "SKIPPED"
result.meta.cal_step.tweakreg = "SKIPPED"
result.meta.cal_step.source_catalog = "SKIPPED"

lib.shelve(result, model_index)

Expand Down Expand Up @@ -173,7 +168,6 @@ def create_fully_saturated_zeroed_image(self, input_model):
"assign_wcs",
"flat_field",
"photom",
"source_detection",
"tweakreg",
]:
fully_saturated_model.meta.cal_step[step_str] = "SKIPPED"
Expand Down

0 comments on commit b6ac77a

Please sign in to comment.