Skip to content

nabu.app.reduce_dark_flat

source module nabu.app.reduce_dark_flat

Functions

  • reduce_dark_flat calculation of the darks / flats calling tomoscan utils function

  • main Compute reduce dark(s) and flat(s) of a dataset

source reduce_dark_flat(scan: TomoScanBase, dark_method: ReduceMethod, flat_method: ReduceMethod, overwrite: bool = False, output_reduced_darks_file: Optional[str] = None, output_reduced_darks_data_path: Optional[str] = None, output_reduced_flats_file: Optional[str] = None, output_reduced_flats_data_path: Optional[str] = None)int

calculation of the darks / flats calling tomoscan utils function

Raises

  • ValueError

source main(argv=None)

Compute reduce dark(s) and flat(s) of a dataset