use the boolean pixel_mask_pf
This commit is contained in:
@ -5,7 +5,7 @@ def calc_mask_pixels(data, pixel_mask_pf):
|
|||||||
if pixel_mask_pf is None:
|
if pixel_mask_pf is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
data[pixel_mask_pf == 0] = np.nan #TODO: boolean mask
|
data[~pixel_mask_pf] = np.nan
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
|
|||||||
forceSendVisualisation = True
|
forceSendVisualisation = True
|
||||||
data_summed = None
|
data_summed = None
|
||||||
n_aggregated_images = 1
|
n_aggregated_images = 1
|
||||||
data[pixel_mask_pf == 0] = np.NaN #TODO: boolean mask
|
data[~pixel_mask_pf] = np.nan
|
||||||
|
|
||||||
else:
|
else:
|
||||||
data = image
|
data = image
|
||||||
|
Reference in New Issue
Block a user