xmipp3.protocols.protocol_preprocess.protocol_filter module

Protocols for particles filter operations.

class xmipp3.protocols.protocol_preprocess.protocol_filter.XmippFilterHelper[source]

Bases: object

Filter operations such as: Fourier or Gaussian.

FM_ADAPTIVE_SOFT = 3
FM_BAND_PASS = 2
FM_BAYESIAN = 1
FM_CENTRAL = 4
FM_CTF = 3
FM_DAUB12 = 1
FM_DAUB20 = 2
FM_DAUB4 = 0
FM_HIGH_PASS = 1
FM_LOW_PASS = 0
FM_MEDIAN = 0
FM_REMOVE_SCALE = 0
FM_SOFT_THRESHOLDING = 2
classmethod getFreqDecay(protocol)[source]
classmethod getHighFreq(protocol)[source]
getInputSampling()[source]

Function to return the sampling rate of input objects. Should be implemented for filter volumes and particles.

classmethod getLowFreq(protocol)[source]
classmethod getModesCondition(filterMode, *filterModes)[source]
class xmipp3.protocols.protocol_preprocess.protocol_filter.XmippProtFilterParticles(**kwargs)[source]

Bases: ProtFilterParticles, XmippProcessParticles

Applies Fourier-based filters to a set of particles to enhance or suppress specific frequency components. This helps improve contrast or remove noise, preparing particles for further analysis such as picking.

convertCTFXmippStep(ctfModel)[source]
filterStep(args)[source]
getFreqDecay()[source]
getHighFreq()[source]
getInputSampling()[source]
getLowFreq()[source]
tmpCTF = 'ctf.xmd'
class xmipp3.protocols.protocol_preprocess.protocol_filter.XmippProtFilterVolumes(**kwargs)[source]

Bases: ProtFilterVolumes, XmippProcessVolumes

Applies Fourier filters to 3D volumes, adjusting their frequency content generating a filter volume as output. Filtering can emphasize structural features, reduce noise, or prepare volumes for comparison or refinement. The filter can be applied in Fourier, wavelet or real space, and can be set as band, high or low pass filter. Also can be set the resolution range and the decay length

filterStep(args)[source]
getFreqDecay()[source]
getHighFreq()[source]
getInputSampling()[source]
getLowFreq()[source]