cistem.protocols.protocol_refine2d module

class cistem.protocols.protocol_refine2d.CistemProtRefine2D(**args)[source]

Bases: pwem.protocols.protocol_2d.ProtClassify2D

Protocol to run 2D classification in cisTEM.

continueStep(iterN)[source]

Create a symbolic link of a previous iteration from a previous run.

convertInputStep()[source]

Prepare working dir, convert input particles (write out by mic) and write input references stack.

createOutputStep()[source]
hasAlignment()[source]
iterParticlesByMic()[source]

Iterate the particles ordered by micrograph

makeInitClassesStep(paramsDic)[source]
mergeStep(iterN)[source]
refineStep(iterN, job, ptcls_per_job, paramsDic)[source]
writeInitParStep()[source]

Construct a parameter file (.par). This function will be called only for iterations 1 and 2.

writeParticlesByMic(stackFn)[source]

Cistem requires input particle stack ordered by mic.