pwem.protocols.protocol_crop_resize_vols module
- class pwem.protocols.protocol_crop_resize_vols.ProtCropResizeVols(**kwargs)[source]
Bases:
EMProtocolCropping and resizing volumes. The protocol can resize the volumes in to manners:
By setting a target sampling rate.
By setting the output box dimensions.
The protocol also allows to crop or pad the volume, setting the output boxsize. This option is applied after the previous resizing option.
- RESIZE_DIMENSIONS = 1
- RESIZE_SAMPLINGRATE = 0
- WINDOW_OP_CROP = 0
- WINDOW_OP_WINDOW = 1