Published May 5, 2020
| Version v0.11.0
Software
Open
empymod/emg3d: Refactor
Authors/Creators
Description
Grand refactor with new internal layout. Mainly splitting-up utils into
smaller bits. Most functionalities (old names) are currently retained in
utils and it should be mostly backwards compatible for now, but they are
deprecated and will eventually be removed. Some previously deprecated functions
were removed, however.
Removed deprecated functions:
emg3d.solver.solver(useemg3d.solver.solveinstead).- Aliases of
emg3d.io.data_writeandemg3d.io.data_readinemg3d.utils.
Changes:
SourceFieldhas now the same signature asField(this might break your code if you calledSourceFielddirectly, with positional arguments, and not throughget_source_field).- More functions and classes in the top namespace.
- Replaced
core.l2normwithscipy.linalg.norm, as SciPy 1.4 got the following PR: https://github.com/scipy/scipy/pull/10397 (reason to raise minimum SciPy to 1.4). Increased minimum required versions of dependencies to
scipy>=1.4.0(raised from 1.1, see note above)empymod>=2.0.0(no min requirement before)numba>=0.45.0(raised from 0.40)
New layout
njitted->core.utilssplit infields,meshes,models,maps, andutils.
Bugfixes:
- Fixed
to_dict,from_dict, andcopyfor theSourceField. - Fixed
ioforSourceField, that was not implemented properly.
- Fixed
Files
empymod/emg3d-v0.11.0.zip
Files
(486.6 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:452590ce835b2eaf777622a5bf3ee066
|
486.6 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/empymod/emg3d/tree/v0.11.0 (URL)