xmipp3.protocols.protocol_preprocess.protocol_mask module

class xmipp3.protocols.protocol_preprocess.protocol_mask.XmippProtMask(**args)[source]

Bases: object

This class implement the common features for applying a mask with Xmipp either SetOfParticles, Volume or SetOfVolumes objects.

copyMaskFileStep(inputMaskFile, outputMaskFile)[source]

Create a local copy of the mask. We use ImageHandler.convert instead of copyFile because the mask could be inside an stack.

maskStep(args)[source]
class xmipp3.protocols.protocol_preprocess.protocol_mask.XmippProtMaskParticles(**kwargs)[source]

Bases: pwem.protocols.protocol_particles.ProtMaskParticles, xmipp3.protocols.protocol_preprocess.protocol_process.XmippProcessParticles, xmipp3.protocols.protocol_preprocess.protocol_mask.XmippProtMask, xmipp3.protocols.protocol_preprocess.geometrical_mask.XmippGeometricalMask2D

Apply mask to a set of particles

GEOMETRY_BASECLASS

alias of xmipp3.protocols.protocol_preprocess.geometrical_mask.XmippGeometricalMask2D

MASK_CLASSNAME = 'Mask'
MASK_FILE = 'mask.spi'
class xmipp3.protocols.protocol_preprocess.protocol_mask.XmippProtMaskVolumes(**kwargs)[source]

Bases: pwem.protocols.protocol_3d.ProtMaskVolumes, xmipp3.protocols.protocol_preprocess.protocol_process.XmippProcessVolumes, xmipp3.protocols.protocol_preprocess.protocol_mask.XmippProtMask, xmipp3.protocols.protocol_preprocess.geometrical_mask.XmippGeometricalMask3D

Apply mask to a volume

GEOMETRY_BASECLASS

alias of xmipp3.protocols.protocol_preprocess.geometrical_mask.XmippGeometricalMask3D

MASK_CLASSNAME = 'VolumeMask'
MASK_FILE = 'mask.vol'