etomo.operators.linear.wavelet
etomo.operators.linear.wavelet#
Wavelet class from pyWavelet module
- class WaveletPywt(wavelet_name, nb_scale=4, undecimated=False, mode='zero', **kwargs)[source]#
Bases:
etomo.operators.linear.base.LinearBase
The 3D wavelet transform class from pyWavelets package
- _op(data)[source]#
Define the wavelet operator. This method returns the input data convolved with the wavelet filter.
- Parameters
data (numpy.ndarray(m', n') or numpy.ndarray(m', n', p')) – input 2D or 3D data array.
- Returns
coeffs – the wavelet coefficients.
- Return type
- _adj_op(coeffs)[source]#
Define the wavelet adjoint operator. This method returns the reconsructed image.
- Parameters
coeffs (numpy.ndarray) – the wavelet coefficients.
- Returns
data – the 2D or 3D reconstructed data.
- Return type
numpy.ndarray((m, n)) or numpy.ndarray((m, n, p))