harmonica.filters.derivative_northing_kernel#
- harmonica.filters.derivative_northing_kernel(fft_grid, order=1)[source]#
Filter for northing derivative in frequency domain
Return a
xarray.DataArray
with the values of the frequency domain filter for computing the northing derivative. The filter is built upon the frequency coordinates of the passedfft_grid
and is defined as follows:where
is the wavenumber vector ( where is the frequency vector), is the northing wavenumber component of , is the imaginary unit and is the order of the derivative.- Parameters:
- fft_grid
xarray.DataArray
Array with the Fourier transform of the original grid. Its dimensions should be in the following order: freq_northing, freq_easting. Use
xrft.xrft.fft
andxrft.xrft.ifft
functions to compute the Fourier Transform and its inverse, respectively.- order
int
The order of the derivative. Default to 1.
- fft_grid
- Returns:
- da_filter
xarray.DataArray
Array with the kernel for the northing derivative filter in frequency domain.
- da_filter
See also
References