xmipp3.protocols.protocol_movie_max_shift module

class xmipp3.protocols.protocol_movie_max_shift.XmippProtMovieMaxShift(**args)[source]

Bases: pwem.protocols.protocol_movies.ProtProcessMovies

Protocol to make an automatic rejection of those movies whose frames move more than a given threshold.

Rejection criteria:
  • by frame: Rejects movies with drifts between frames
    bigger than a certain maximum.
  • by whole movie: Rejects movies with a total travel
    bigger than a certain maximum.
  • by frame and movie: Rejects movies if both conditions
    above are met.
  • by frame or movie: Rejects movies if one of the conditions
    above are met.
REJ_AND = 2
REJ_FRAME = 0
REJ_MOVIE = 1
REJ_OR = 3
REJ_TYPES = ['by frame', 'by whole movie', 'by frame and movie', 'by frame or movie']
createOutputStep()[source]
getMicFromMovie(movie, isDoseWeighted)[source]

Get the Micrograph/DwMicrograph related with a certain movie

setInputMics()[source]

Setting the self.inputMics to the SetOfMics associated to the input movies (or None if no relation is found). The same for DoseWeighted mics