preprocess.extract_flatdark

Functions:

extract_flatdark(f_in, flat_end, logfilename) Extract the flat and dark reference images to be used during the pre-processing step.
stp_core.preprocess.extract_flatdark.extract_flatdark(f_in, flat_end, logfilename)[source]

Extract the flat and dark reference images to be used during the pre-processing step.

Parameters:
  • f_in (HDF5 data structure) – The data structure containing the flat and dark acquired images.
  • flat_end (bool) – Consider the flat/dark images acquired after the projections (if any).
  • logilename (string) – Absolute file of a log text file where infos are appended.