nabu.preproc.double_flatfield_variable_region module

class nabu.preproc.double_flatfield_variable_region.DoubleFlatFieldVariableRegion(shape, result_url=None, binning_x=None, binning_z=None, detector_corrector=None)[source]

Bases: DoubleFlatField

This class provides the division by the double flat field. At variance with the standard class, it store as member the whole field, and performs the division by the proper region according to the positionings of the processed radios which is passed by the argument array sub_regions_per_radio to the method apply_double_flatfield_for_sub_regions

apply_double_flatfield_for_sub_regions(radios, sub_regions_per_radio)[source]

Apply the “double flatfield” filter on a chunk of radios. The processing is done in-place !