added todo notes
This commit is contained in:
@ -3,7 +3,7 @@ import numpy as np
|
||||
|
||||
def calc_radial_integration(results, data, keep_pixels, pixel_mask_pf, center_radial_integration, r_radial_integration):
|
||||
if keep_pixels is None and pixel_mask_pf is not None:
|
||||
keep_pixels = (pixel_mask_pf != 0)
|
||||
keep_pixels = (pixel_mask_pf != 0) #TODO: boolean mask
|
||||
|
||||
if center_radial_integration is None:
|
||||
center_radial_integration = [
|
||||
|
@ -182,7 +182,7 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
|
||||
|
||||
# make all masked pixels values nans
|
||||
if pixel_mask_pf is not None:
|
||||
pfdata[pixel_mask_pf != 1] = np.nan
|
||||
pfdata[pixel_mask_pf != 1] = np.nan #TODO: boolean mask
|
||||
|
||||
calc_apply_threshold(results, pfdata) # changes pfdata in place
|
||||
calc_roi(results, pfdata, pixel_mask_pf)
|
||||
@ -216,7 +216,7 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
|
||||
forceSendVisualisation = True
|
||||
data_summed = None
|
||||
n_aggregated_images = 1
|
||||
data[pixel_mask_pf == 0] = np.NaN
|
||||
data[pixel_mask_pf == 0] = np.NaN #TODO: boolean mask
|
||||
|
||||
else:
|
||||
data = image
|
||||
|
Reference in New Issue
Block a user