Improved BOZ flat field
Compare changes
- Loïc Le Guyader authored
+ 39
− 30
@@ -18,6 +18,7 @@ from matplotlib.colors import LogNorm
@@ -18,6 +18,7 @@ from matplotlib.colors import LogNorm
@@ -235,6 +236,15 @@ class parameters():
@@ -235,6 +236,15 @@ class parameters():
@@ -252,19 +262,14 @@ def _plane_flat_field(p, roi):
@@ -252,19 +262,14 @@ def _plane_flat_field(p, roi):
@@ -287,10 +292,10 @@ def compute_flat_field_correction(rois, p, plot=False):
@@ -287,10 +292,10 @@ def compute_flat_field_correction(rois, p, plot=False):
@@ -809,14 +814,16 @@ def inspect_dark(arr, mean_th=(None, None), std_th=(None, None)):
@@ -809,14 +814,16 @@ def inspect_dark(arr, mean_th=(None, None), std_th=(None, None)):
@@ -834,7 +841,6 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -834,7 +841,6 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -850,8 +856,7 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -850,8 +856,7 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -860,14 +865,14 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -860,14 +865,14 @@ def inspect_flat_field_domain(avg, params, vmin=None, vmax=None):
@@ -1026,24 +1031,28 @@ def plane_fitting(params):
@@ -1026,24 +1031,28 @@ def plane_fitting(params):