Skip to content

tol_gradient isfinite

Latest
Compare
Choose a tag to compare
@prisae prisae released this 27 Jun 11:24
· 6 commits to main since this release
9dea3cd
  • 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.