diff --git a/romancal/ramp_fitting/ramp_fit_step.py b/romancal/ramp_fitting/ramp_fit_step.py index 7e37549a3..1dd6bb637 100644 --- a/romancal/ramp_fitting/ramp_fit_step.py +++ b/romancal/ramp_fitting/ramp_fit_step.py @@ -283,15 +283,15 @@ def create_image_model(input_model, image_info): var_rnoise, u.electron**2 / u.s**2, dtype=var_rnoise.dtype ), "err": u.Quantity(err, u.electron / u.s, dtype=err.dtype), - "amp33": input_model.amp33, - "border_ref_pix_left": input_model.border_ref_pix_left, - "border_ref_pix_right": input_model.border_ref_pix_right, - "border_ref_pix_top": input_model.border_ref_pix_top, - "border_ref_pix_bottom": input_model.border_ref_pix_bottom, - "dq_border_ref_pix_left": input_model.dq_border_ref_pix_left, - "dq_border_ref_pix_right": input_model.dq_border_ref_pix_right, - "dq_border_ref_pix_top": input_model.dq_border_ref_pix_top, - "dq_border_ref_pix_bottom": input_model.dq_border_ref_pix_bottom, + "amp33": input_model.amp33.copy(), + "border_ref_pix_left": input_model.border_ref_pix_left.copy(), + "border_ref_pix_right": input_model.border_ref_pix_right.copy(), + "border_ref_pix_top": input_model.border_ref_pix_top.copy(), + "border_ref_pix_bottom": input_model.border_ref_pix_bottom.copy(), + "dq_border_ref_pix_left": input_model.dq_border_ref_pix_left.copy(), + "dq_border_ref_pix_right": input_model.dq_border_ref_pix_right.copy(), + "dq_border_ref_pix_top": input_model.dq_border_ref_pix_top.copy(), + "dq_border_ref_pix_bottom": input_model.dq_border_ref_pix_bottom.copy(), "cal_logs": rds.CalLogs(), } out_node = rds.WfiImage(inst)