pwem.protocols.protocol_boxsize_checkpoint module

class pwem.protocols.protocol_boxsize_checkpoint.ProtBoxSizeCheckpoint(**args)[source]

Bases: EMProtocol

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

applyComparisonStep(boxSize1, boxSize2)[source]
Applies the formula to make the comparison of the two box size. It has four cases:
  • Stays within the limits of the maximum proportional difference and outputs the average box size (default).

  • Stays within the limits of the maximum proportional difference and outputs the primary reference.

  • Goes out of the maximum proportional difference and outputs the primary reference (default).

  • Goes out of the maximum proportional difference and outputs the average box size.

createOutput(modifiedSet)[source]
createResultsOutput()[source]

The output is an even Integer. Other protocols can use it in those Params if it has set allowsPointer=True

getActions()[source]
getTimeOutInSeconds(timeOut)[source]
initParams()[source]
outputsToDefine = {}
registerEvenBoxSize(boxSize)[source]
registerOutput(outputName, value)[source]
stopWait()[source]
waitingHasFinished()[source]
waitingStep()[source]
pwem.protocols.protocol_boxsize_checkpoint.transform2EvenNumber(var)[source]