pwem.protocols.protocol_movies module

class pwem.protocols.protocol_movies.ProtExtractMovieParticles(**kwargs)[source]

Bases: pwem.protocols.protocol_particles.ProtExtractParticles, pwem.protocols.protocol_movies.ProtProcessMovies

Extract a set of Particles from each frame of a set of Movies.

class pwem.protocols.protocol_movies.ProtMovieAssignGain(**kwargs)[source]

Bases: pwem.protocols.protocol_micrographs.ProtPreprocessMicrographs

Assign a gain image to a set of movies

createOutputStep()[source]
class pwem.protocols.protocol_movies.ProtProcessMovies(**kwargs)[source]

Bases: pwem.protocols.protocol_micrographs.ProtPreprocessMicrographs

Protocol base for processing movies from direct detectors cameras. This base class will iterate through the movies (extract them if compressed) and call a _processMovie method for each one.

CONVERT_TO_MRC = None
CORRECT_GAIN = False
convertInputStep()[source]

Should be implemented in sub-classes if needed.

getFinalCorrectionImagePath(correctionImage)[source]

Returns the final path to the correction image (converted or not) or and exception correctionImage does not exists

getGainAndDark()[source]
processMovieStep(movieDict, hasAlignment)[source]