Santiago Soler

Results 129 issues of Santiago Soler

### Describe the issue: The Gaussian mixture classes (`WeightedGaussianMixture`, `GaussianMixtureWithPrior`) have methods that reorder the clusters, like `order_clusters_GM_weights` that orders them based on their weights, or `order_clusters` that orders them...

bug

#### Summary Refactor the `PGI_UpdateParameters` class to improve readability. Add a constructor to the class that initializes all the attributes used by its methods, and improve its docstring adding descriptions...

When working with potential field data we might want to perform multicomponent inversions. In those cases we need to create a single 1D array that host every observed data from...

**Description of the problem:** When passing an `xarray.DataArray` that contains extra coordinates (e.g. a 2D `upward` coordinate) to the `verde.grid_to_table` function, the resulting `pandas.Dataframe` doesn't include a column for it....

bug
good first issue

**Description of the desired feature:** Right before merging #348 @mdtanker noticed that the `load_oasis_grd()` function doesn't preserve information about the grid projection. Even though the file header has a few...

enhancement

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...

bug
documentation

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...