tomwer.gui.reconstruction.nabu.check.check_dark_series#

tomwer.gui.reconstruction.nabu.check.check_dark_series(scan, logger=None, user_input=True)#
check:
  • if scan has computed_dark attached. If there is more than one then ask confirmation to the user to process the dataset

  • else if the NXTomo has more than one series of dark. Otherwise ask confirmation to the user to process the dataset

ask confirmation for processing is done by a pop up dialog.

Parameters:
  • scan (NXtomoScan) – scan to check

  • user_input (bool) – if True and if n series of flat is invalid then ask the user to confirm the processing. Else print a warning and refuse processing

Return type:

bool

Returns:

True if processing can be done else False

Note:

user can ‘force’ the processing to be done