pwem.protocols.protocol_boxsize_parameters module

class pwem.protocols.protocol_boxsize_parameters.ProtBoxSizeParameters(**args)[source]

Bases: EMProtocol

Protocol to make mathematical operations on particle picking boxsize. For sanity check all the generated outputs are even numbers.

applyFormulaStep(boxSize, samplingRate)[source]

Applies the formula to each of the parameters selected by the user.

calculateConsensusParams(boxSize)[source]
calculateGautomatchParams(boxSize, samplingRate)[source]
calculateParticleExtractionParams(boxSize)[source]
calculateRelionParams(boxSize, samplingRate)[source]
calculateTopazParams(boxSize)[source]
createOutput(modifiedSet)[source]
createResultsOutput()[source]

The output can be an Integer, Float or String. Other protocols can use it in those Params if it has set allowsPointer=True

initParams()[source]
outputsToDefine = {}
registerEvenBoxSize(boxSize)[source]
registerOutput(outputName, value)[source]
pwem.protocols.protocol_boxsize_parameters.transform2EvenNumber(var)[source]