Emg3d

Latest version: v1.8.7

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.8.7

----------------------------------

**2025-01-09**

- Maintenance:

- Replace ``scipy.interpolate.interpnd`` with ``scipy.interpolate._interpnd``
(should be a temporary solution, would be better to not use private
modules).
- Fix test failures; they were related to the change of SciPy v1.15 of
``constants.mu_0`` value changed to the more precise double precision value
(https://github.com/scipy/scipy/pull/11345).

1.8.6

---------------------------

**2025-01-07**

- Maintenance:

- Restricting to ``SciPy<1.15``. The function ``scipy.interpolate.interpnd``
is deprecated, and ``scipy.interpolate.interpnd._ndim_coords_from_array``
was removed. Needs fixing in ``emg3d.maps._points_from_grids``.
- Re-adding a test for normalizing source warning; avoid rounding over and
over again in recursion of creating a dipole/wire source.

1.8.5

-----------------------------

**2025-01-02**

- Bugfix and maintenance:

- Fix bug in Dipole/Wire sources when coordinates are mixed increasing and
decreasing over several cells
[348](https://github.com/emsig/emg3d/issues/348).
- Changed build backend from ``setup.py`` to ``pyproject.toml``.

1.8.4

-----------------

**2024-10-09**

The code is now compatible with NumPy v2.


- Created foundation for new module ``inversion``.

- Bumped the minimum requirements to:

- Python 3.10
- SciPy 1.10
- empymod 2.3.2
- Numba (without minimum version)

- Maintenance

- Testing: dropped Python 3.9 (Python 3.13 not added yet).
- Update for NumPy v2: mainly ``np.infty -> np.inf``.
- Add notes for ``ipympl`` (interactive plots in modern Jupyter).
- Reduce code by making use of new SciPy new features (complex-valued
map_coordinate; lazy loading).

1.8.3

------------------------------

**2024-06-27**


- New hard dependency: ``empymod`` changed from being a soft dependency to
being a hard dependency.

- Simulation

- A new parameter ``tol_gradient`` can be provided in the dict
``solver_opts``; by default it is set to the value of ``tol``. ``tol`` is
the value used for ``compute`` (the forward), ``tol_gradient`` is used for
``gradient``/``jtvec`` and ``jvec`` (the gradient). In inversions, one can
set the tolerance for the gradient often to a lower value, which saves
computation time.

- Survey

- New attributes ``isfinite`` and ``finite_data``. Former returns the indices
of the finite data, latter returns directly the finite data.

- Electrodes

- Fixed ``TxMagneticDipole``-representation and improved documentation of the
magnetic sources.

- Maintenance:

- Bumped the minimum requirements to:

- Python 3.9
- SciPy 1.9
- Numba 0.53
- empymod 2.3.0 (NEW requirement)

- Testing: added Python 3.12, dropped Python 3.8.

- Fix remaining outdated ``python setup.py`` commands.

- Many small things to keep the package updated.

1.8.2

---------------------------

**2023-05-31**


- ``io``: New function ``convert`` to convert a file that was saved with emg3d
from one file format to another file format.
- Installation through pip has new the option ``pip install emg3d[full]``,
which installs all soft dependencies as well.

- Bumped the minimum requirements to:

- Python 3.8
- NumPy 1.19
- SciPy 1.5
- Numba 0.50

- Bug fixes, small improvements and maintenance

- Testing: added Python 3.11, dropped Python 3.7.
- Adjust copyright notice to only include original year, so it has not to be
adjusted each year.

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.