Empymod

Latest version: v2.4.0

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

Scan your dependencies

Page 2 of 9

2.2.1

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

**2022-10-15**

- Minimum offset:

Change regarding the enforced minimum horizontal offset, which can be set
through ``empymod.set_minimum(min_off=1e-3)``, where 1e-3, hence 1 mm, is the
default. Until now, responses for smaller offsets were set to NaN. New, they
return the response for the minimum offset. The raised warning stays the
same.

- Maintenance

- Exclude ``scipy!=v1.9.0`` from MacOS/Windows test.
- Replace ``pytest-flake8`` by plain ``flake8``.
- Change the way ``spacing`` and ``shift`` are calculated in
``fdesign.print_result`` to avoid numerical precision issues.
- Replace deprecated ``sphinx-panels`` with ``sphinx-design``.

2.2.0

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

**2022-08-02**

- I/O & CLI:

- New Command-Line Interface (CLI) for the top-level modelling functions
``bipole``, ``dipole``, ``loop``, and ``analytical``. Consult the manual
for its description, or type in your terminal ``empymod --help``. Note that
the CLI is a simple wrapper and currently lacks proper logging.
- New module ``io`` to save and load inputs and data.

- Maintenance:

- Improved load time by lazy-loading matplotlib and some scipy submodules.
- Removed the file ``runtests.sh``; uses ``make`` instead.


v2.1.x
""""""

2.1.4

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

**2022-07-20**

- The main modelling routines ``bipole``, ``dipole``, ``loop``, and
``analytical`` take a new keyword argument ``squeeze``, which is set to
``True`` by default. If true, the output is squeezed (status quo); if false,
the output is always a three-dimensional array ``(nfreqtime, nrec, nsrc)``.
- One can define new ``+np.infty`` as interface. Only use-case is to enforce a
coordinate system in a two-layer case with an interface at ``z`` (see example
coordinate system in the educational section of the gallery).

- Documentation:

- Expanded note on FFTLog.
- Expanded note on coordinate system.
- Changed the description from ``optional`` to ``default: xyz`` in the main
modelling routines.

- Maintenance:

- Use scipy through conda in CI.
- Fix ``do_3d_projection`` for ``matplotlib>3.5.0``.

2.1.3

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

**2021-11-20**

- New example: Random noise for f-domain CSEM data.

- Maintenance:

- Change in the njit-settings of ``kernel.wavenumber`` to work with
``numba>=0.54``.
- Cannot use ``matplotlib==3.5.0`` to build the gallery (matplotlib21688).
- Move up the minimum matplotlib in the tests.
- Added a Cron-job to run the tests monthly; every 20th at 14:14.

2.1.2

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

**2021-07-04**

- Bumped the minimum requirements to:

- Python 3.7
- NumPy 1.17
- SciPy 1.4
- Numba 0.47

- Legacy clean-up: The kernel of empymod used to switch off all NumPy errors
via ``np.seterr(all='ignore')``. That means that any script or library that
used empymod switched off all warnings from NumPy, which is not good. Since
empymod v2 this does make even less sense, as the entire kernel is jitted
with numba. *This setting is therefore removed.*

2.1.1

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

**2021-06-23**

- Bugfix in ``empymod.bipole`` and ``empymod.loop`` when using various azimuths
and dips (some cases used to cause a shape-mismatch error).

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.