传统离散傅立叶变换 (scipy.fftpack )

警告

此子模块现在被认为是遗留的,新代码应该使用 scipy.fft

快速傅立叶变换(FFT)

fft \(X[, n, axis, overwrite_x] )

返回实序列或复序列的离散傅立叶变换。

ifft \(X[, n, axis, overwrite_x] )

返回实数或复数序列的离散傅里叶逆变换。

fft2 \(X[, shape, axes, overwrite_x] )

二维离散傅立叶变换。

ifft2 \(X[, shape, axes, overwrite_x] )

实序列或复序列的二维离散傅立叶逆变换。

fftn \(X[, shape, axes, overwrite_x] )

返回多维离散傅立叶变换。

ifftn \(X[, shape, axes, overwrite_x] )

返回多维离散傅立叶逆变换。

rfft \(X[, n, axis, overwrite_x] )

实序列的离散傅立叶变换。

irfft \(X[, n, axis, overwrite_x] )

返回实序列x的离散傅里叶逆变换。

dct \(X[, type, n, axis, norm, overwrite_x] )

返回任意类型序列x的离散余弦变换。

idct \(X[, type, n, axis, norm, overwrite_x] )

返回任意类型序列的离散余弦反变换。

dctn \(X[, type, shape, axes, norm, overwrite_x] )

沿指定轴返回多维离散余弦变换。

idctn \(X[, type, shape, axes, norm, overwrite_x] )

沿指定轴返回多维离散余弦变换。

dst \(X[, type, n, axis, norm, overwrite_x] )

返回任意类型序列x的离散正弦变换。

idst \(X[, type, n, axis, norm, overwrite_x] )

返回任意类型序列的离散正弦逆变换。

dstn \(X[, type, shape, axes, norm, overwrite_x] )

沿指定轴返回多维离散正弦变换。

idstn \(X[, type, shape, axes, norm, overwrite_x] )

沿指定轴返回多维离散正弦变换。

微分和伪微分算子

diff \(X[, order, period, _cache] )

返回周期序列x的第k个导数(或积分)。

tilbert \(X,h[, period, _cache] )

返回周期序列x的h-Tilbert变换。

itilbert \(X,h[, period, _cache] )

返回周期序列x的逆h-Tilbert变换。

hilbert \(X[, _cache] )

周期序列x的返回希尔伯特变换。

ihilbert \(X)

返回周期序列x的希尔伯特逆变换。

cs_diff \(X,a,b[, period, _cache] )

返回周期序列的(a,b)-cosh/sinh伪导数。

sc_diff \(X,a,b[, period, _cache] )

返回周期序列x的(a,b)-sinh/cosh伪导数。

ss_diff \(X,a,b[, period, _cache] )

返回周期序列x的(a,b)-sinh/sinh伪导数。

cc_diff \(X,a,b[, period, _cache] )

返回周期序列的(a,b)-cosh/cosh伪导数。

shift \(X,a[, period, _cache] )

将周期序列x移位a:y(U)=x(u+a)。

帮助器函数

fftshift \(X[, axes] )

将零频分量移到频谱中心。

ifftshift \(X[, axes] )

与之相反的 fftshift

fftfreq \(n[, d] )

返回离散傅里叶变换采样频率。

rfftfreq \(n[, d] )

DFT采样频率(用于与RFFT、IRFT一起使用)。

next_fast_len \(目标)

查找输入数据的下一个快速大小 fft 、用于补零等。

请注意, fftshiftifftshiftfftfreq Numpy函数是否由 fftpack ;从以下位置导入它们 numpy 应该是首选。

卷积 (scipy.fftpack.convolve )

convolve \(X,ω,[swap_real_imag,overwrite_x] )

的包装器 convolve

convolve_z \(X,omega_real,omega_imag,[overwrite_x] )

的包装器 convolve_z

init_convolution_kernel \(.)

的包装器 init_convolution_kernel

destroy_convolve_cache