Commit 339aa4e5 authored by Thomas Vincent's avatar Thomas Vincent

fix typo

parent 3b603179
......@@ -468,7 +468,7 @@ def _fit_process(th_idx, roiIndices=None):
y_sum = cube_sum_z.sum(axis=0)
x_sum = cube_sum_z.sum(axis=1)
if fit_background != BackgroundTypes.None:
if fit_background != BackgroundTypes.NONE:
# Background subtraction
for array in (z_sum, y_sum, x_sum):
array -= background_estimation(fit_background, array)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment