harmonica.upward_continuation(grid, height_displacement)[source]

Calculate the upward continuation of a potential field grid

Compute the upward continuation of regular gridded data using frequency domain calculations through Fast Fourier Transform.

  • grid (xarray.DataArray) – A two dimensional xarray.DataArray whose coordinates are evenly spaced (regular grid). Its dimensions should be in the following order: northing, easting. Its coordinates should be defined in the same units.

  • height_displacement (float) – The height displacement of upward continuation. For upward continuation, the height displacement should be positive. Its units are the same units of the grid coordinates.


upward continuation (xarray.DataArray) – A xarray.DataArray after upward continuation of the passed grid.



Examples using harmonica.upward_continuation