tomwer.synctools.utils.scanstages.ScanStages#
- class tomwer.synctools.utils.scanstages.ScanStages(scan)#
Util class to copy all the files of scan to a destination dir until a define advancement of the acquisition.
- Parameters:
scan (
TomwerScanBase
) – scan to copy.
- class AcquisitionStage(value)#
An enumeration.
- ACQUI_ENDED = (3,)#
- ACQUI_NOT_STARTED = (0,)#
- ACQUI_ON_GOING = (2,)#
- ACQUI_STARTED = (1,)#
- COMPLETE = (99,)#
- RECONSTRUCTION_ADDED = (4,)#
- static from_command_name(name)#
Return the AcquisitionStage fitting a command option
- get_command_name()#
Return the name of the AcquisitionStage to give by a command option
- static get_command_names()#
- rsync_until(stage, dest_dir)#
- Parameters:
stage (AcquisitionStage) –
dest_dir (str) –
- Return type:
None