nabu.preproc.double_flatfield_cuda module¶
- class nabu.preproc.double_flatfield_cuda.CudaDoubleFlatField(shape, result_url=None, sub_region=None, detector_corrector=None, input_is_mlog=True, output_is_mlog=False, average_is_on_log=False, sigma_filter=None, filter_mode='reflect', log_clip_min=None, log_clip_max=None, cuda_options=None)[source]¶
Bases:
DoubleFlatField
Init double flat field with Cuda backend.
- compute_double_flatfield(radios, recompute=False)[source]¶
Read the radios and generate the “double flat field” by averaging and possibly other processing.
- Parameters:
radios (array) – Input radios chunk.
recompute (bool, optional) – Whether to recompute the double flatfield if already computed.