xmipptomo.protocols.protocol_crop_resize_base module

class xmipptomo.protocols.protocol_crop_resize_base.XmippProtCropBase2D(**kwargs)[source]

Bases: pwem.protocols.protocol.EMProtocol, tomo.protocols.protocol_base.ProtTomoBase

Base class to crop 2D objects in tomography

class xmipptomo.protocols.protocol_crop_resize_base.XmippProtCropBase3D(**kwargs)[source]

Bases: xmipptomo.protocols.protocol_crop_resize_base.XmippProtCropBase2D

Base class to crop 3D objects in tomography

class xmipptomo.protocols.protocol_crop_resize_base.XmippProtResizeBase(**kwargs)[source]

Bases: pwem.protocols.protocol.EMProtocol, tomo.protocols.protocol_base.ProtTomoBase

Base class to resize 2D and 3D objects in tomography

RESIZE_FACTOR = 1
RESIZE_PYRAMID = 2
RESIZE_SAMPLINGRATE = 0
resizeCommonArgsResize(protocol, samplingRate)[source]