motioncorr.protocols.protocol_motioncorr module

class motioncorr.protocols.protocol_motioncorr.ProtMotionCorr(**args)[source]

Bases: pwem.protocols.protocol_align_movies.ProtAlignMovies

This protocol wraps motioncor2 movie alignment program developed at UCSF.

Motioncor2 performs anisotropic drift correction and dose weighting
(written by Shawn Zheng @ David Agard lab)
CONVERT_TO_MRC = 'mrc'
calcFrameMotion(movie)[source]
getInputMovies()[source]
getSamplingRate()[source]
versionGE(version)[source]

Return True if current version of motioncor2 is greater or equal than the input argument. Params:

version: string version (semantic version, e.g 1.0.1)
waitForThreadStep()[source]
motioncorr.protocols.protocol_motioncorr.createGlobalAlignmentPlot(meanX, meanY, first, pixSize)[source]

Create a plotter with the shift per frame.