API reference
This page provides an auto-generated summary of xr-scipy’s API. For more details and examples, refer to the relevant chapters in the main part of the documentation.
integrate
|
Integrate along the given coordinate using the composite trapezoidal rule. |
|
Integrate y(x) using samples along the given coordinate and the composite |
|
romb(obj, coord, show=False) |
|
cumulative_trapezoid(obj, coord) |
fft
|
Compute the 1-D discrete Fourier Transform. |
|
Compute the 1-D inverse discrete Fourier Transform. |
|
Compute the 1-D discrete Fourier Transform for real input. |
|
Computes the inverse of rfft. |
|
Compute the N-D discrete Fourier Transform. |
|
Compute the N-D inverse discrete Fourier Transform. |
|
Compute the N-D discrete Fourier Transform for real input. |
|
Computes the inverse of rfftn |
|
Compute the FFT of a signal that has Hermitian symmetry, i.e., a real |
|
ihfft(x, coord, n=None, norm=None) |
fftpack
|
Return discrete Fourier transform of real or complex sequence. |
|
Return discrete inverse Fourier transform of real or complex sequence. |
|
rfft(x, coord, n=None) |
|
Return inverse discrete Fourier transform of real sequence x. |
|
dct(x, coord, type=2, n=None, norm=None) |
|
idct(x, coord, type=2, n=None, norm=None) |
|
dst(x, coord, type=2, n=None, norm=None) |
|
idst(x, coord, type=2, n=None, norm=None) |
Spectral (FFT) analysis
|
Estimate the cross power spectral density, Pxy, using Welch's method. |
|
Calculate the power spectral density. |
|
Calculate the coherence as <CSD> / sqrt(<PSD1> * <PSD2>) |
|
Calculate the crosscorrelation. |
|
Calculate the cross spectrogram. |
|
Calculate the spectrogram using crossspectrogram applied to the same data |
|
Calculate the coherogram |
|
Compute the analytic signal, using the Hilbert transform. |
Digital filters
|
Applies given frequency filter to a darray. |
|
Applies lowpass filter to a darray. |
|
Applies highpass filter to a darray. |
|
Applies bandpass filter to a darray. |
|
Applies bandstop filter to a darray. |
|
Decimate signal by given (int) factor or to closest possible target_fs along the specified dimension. |
|
Apply a Savitzky-Golay filter to an array. |