relion.protocols.protocol_bayesian_polishing module

class relion.protocols.protocol_bayesian_polishing.ProtRelionBayesianPolishing(**kwargs)[source]

Bases: pwem.protocols.protocol_particles.ProtParticles

Wrapper protocol for the Relion’s Bayesian Polishing.

As of release 3.0, Relion also implements a new Bayesian approach to beam induced motion correction. This approach aims to optimise a regularised likelihood, which allows us to associate with each hypothetical set of particle trajectories a prior likelihood that favors spatially coherent and temporally smooth motion without imposing any hard constraints. The smoothness prior term requires three parameters that describe the statistics of the observed motion. To estimate the prior that yields the best motion tracks for this particular dataset, we can first run the program in ‘training mode’. Once the estimates have been obtained, one can then run the program again to fit tracks for the motion of all particles in the data set and to produce adequately weighted averages of the aligned movie frames.

OP_POLISH = 1
OP_TRAIN = 0
convertInputStep(movId, partId, postId)[source]
createOutputStep(id=1)[source]
trainOrPolishStep(operation)[source]