continuousflex.protocols.protocol_subtomogram_refine_alignment module

class continuousflex.protocols.protocol_subtomogram_refine_alignment.FlexProtRefineSubtomoAlign(**kwargs)[source]

Bases: pwem.protocols.protocol_3d.ProtAnalysis3D

Protocol for refining subtomogram alignment and filling the missing wedge based on optical flow and Fast Rotational Matching (FRM). The protocol takes as input a set of subtomograms, with their subtomogram averaging protocol. It uses this global subtomogrm average to fill the missing wedge in Fourier space (the missing wedge is replaced by the corresponding region from the global average). Optical flow is used to match the global average with each of the missing wedge filled and aligned subtomograms (matched subtomograms are generated). Rigid-body alignment is performed using FRM from the matched subtomogram, and the rigid-body alignment for the input subtomograms is updated. Few iterations are usually sufficient (1-5), and the rigid-body alignment will be refined

applyAlignment(num)[source]
calculateNewAverage(num)[source]
calculateOpticalFlows(num)[source]
combineRefinedAlignment(num)[source]
convertInputStep()[source]
createOutputStep(num=0)[source]
fillMissingWedge(num)[source]
getAngleY()[source]
getVolumeDimesion()[source]
prepareMetaData()[source]
read_optical_flow(path_flowx, path_flowy, path_flowz)[source]
read_optical_flow_by_number(num, op_path=None)[source]
refineAlignment(num)[source]
warpByFlow(num)[source]