tomo.protocols.protocol_ts_import module¶
- class tomo.protocols.protocol_ts_import.ProtImportTs(**args)[source]¶
Bases:
ProtImportTsBase
Protocol to import tilt series.
- class tomo.protocols.protocol_ts_import.ProtImportTsBase(**args)[source]¶
Bases:
ProtImport
,ProtTomoBase
Base class for Tilt-Series and Tilt-SeriesMovies import protocols.
- ANGLES_FROM_FILENAME = 'Filename'¶
- ANGLES_FROM_HEADER = 'Header'¶
- ANGLES_FROM_MDOC = 'Mdoc'¶
- ANGLES_FROM_RANGE = 'Range'¶
- ANGLES_FROM_TLT = 'Tlt'¶
- IMPORT_COPY_FILES = 0¶
- IMPORT_FROM_FILES = 0¶
- IMPORT_LINK_ABS = 1¶
- IMPORT_LINK_REL = 2¶
- MDOC_DATA_SOURCE = False¶
- NOT_MDOC_GUI_COND = 'filesPattern is None or (filesPattern is not None and ".mdoc" not in filesPattern)'¶
- accumDoses = None¶
- acquisitions = None¶
- copyOrLink(source, destination)[source]¶
Calls the copy or link method chosen by the user in importAction option
- fileModified(fileName, fileTimeout)[source]¶
Check if the fileName modification time is less than a given timeout. Params:
fileName: input filename that will be checked. fileTimeout: timeout
- getActions()[source]¶
This method will allow that the ‘Stop import’ action to appears in the GUI when the user right-click in the protocol import box. It will allow a user to manually stop the streaming.
- getMatchingFiles(fileTimeOut=None, isValidation=False)[source]¶
Return an ordered dict with TiltSeries found in the files as key and a list of all tilt images of that series as value.
- incomingDose = None¶
- meanDosesPerFrame = None¶
- sRates = None¶
- class tomo.protocols.protocol_ts_import.ProtImportTsMovies(**args)[source]¶
Bases:
ProtImportTsBase
Protocol to import tilt series movies.