Skip to content
Snippets Groups Projects
Commit 22ec02db authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Fix case no flat field available for inspect_correction

parent 65c39c2d
No related branches found
No related tags found
1 merge request!186Improved BOZ flat field
This commit is part of merge request !186. Comments created here will be created in the context of that merge request.
......@@ -68,7 +68,6 @@ class parameters():
self.sat_level = None
self.max_iter = None
# temporary data
self.arr_dark = None
self.tid_dark = None
......@@ -1403,7 +1402,7 @@ def inspect_correction(params, gain=None):
# flat flat_field
plane_ff = params.get_flat_field()
if plane_ff is None:
plane_ff = [0.0, 0.0, 1.0, -1.0]
plane_ff = [0.0, 0.0, 1.0, -1.0, 0.0, 0.0, 1.0, -1.0]
ff = compute_flat_field_correction(params.rois, plane_ff)
# non linearities
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment