harmonica
harmonica copied to clipboard
Forward modeling, inversion, and processing gravity and magnetic data
**Description of the desired feature:** A nice transformation to add to `harmonica` is the _total gradient amplitude_ (aka _analytic signal_), defined in Roest et al (1992) as $$|A(x, y)| =...
Bump versions of Sphinx and its plugins in `environment.yml` and in `requirements-docs.txt`. Add CSS `dark-light` class to Harmonica logo in the `index.rst` to make its background transparent even in dark...
Use `fig.show(method="notebook")` in user guide pages that use PyGMT to generate plots. This way `jupyter-sphinx` is able to render the images in the generated HTML files. **Relevant issues/PRs:** Fixes #473
**Page that contains the error or needs to be improved (paste link):** The PyGMT figures we generate while building the docs are not being correctly added to the `dev` versions...
Print `xarray.DataArray` and `xarray.Dataset` objects in the user guide pages instead of display them and letting Jupyter to render them as HTML objects. This is a patch to output cells...
Merge the two forward functions for magnetic fields of dipoles into a single one named `dipole_magnetic` that includes a new `field` argument. Make the `dipole_magnetic` function to ask magnetic moment...
Remove the depth_type argument from the EquivalentSources constructor. By default the point sources will be defined using a relative depth strategy. Removed the deprecated relative_depth argument from the constructor. Update...
**Description of the desired feature:** From chats with @indiauppal and @birocoles, I learned that Dampney (1969; the original equivalent source paper) advises using depths between 2.5 and 6 times the...
The `upward_derivative` function gains a `method` argument that defaults to `finite-diff`. The way this works is by upward and downward continuing the grid by half of the average grid spacing...
**Description of the problem:** The upward derivative returned has an inverted sign. It looks OK when inspecting plots because a lot of us are used to the sign convention of...