Releases: emsig/empymod
Various azimuths and dips at same depth
-
empymod.bipole
- In the source and receiver format
[x, y, z, azimuth, dip]
, azimuth and dip can now be either single values, or the same number as the other coordinates. - Bugfix (in
utils.get_abs
): When different orientations were used exactly along the principal axes, at the same depth, only the first source was calculated [empymod#74].
- In the source and receiver format
Continuously in- or decreasing
This is a small appendix to v1.10.4: Depths can now be defined in increasing or decreasing order, as long as they are consistent. Model parameters have to be defined in the same order. Hence all these are possible:
[-100, 0, 1000, 1050]
-> left-handed system, low-to-high[100, 0, -1000, -1050]
-> right-handed system, high-to-low[1050, 1000, 0, -100]
-> left-handed system, high-to-low[-1050, -1000, 0, 100]
-> right-handed system, low-to-high
Positive z down- or upwards
- New examples:
empymod
can handle positive z down- or upwards (left-handed or right-handed coordinate systems; it was always possible, but not known nor documented). Adjusted documentation, docstrings, and added an example.- Example how to calculate the responses for the WalkTEM system.
- Minor things and bug fixes:
- Change from relative to absolute imports.
- Simplified releasing (no badges).
- Python 3.8 is tested.
- Fix: numpy now throws an error if the third argument of
logspace
is not anint
, some casting was therefore necessary within the code.
Sphinx Gallery
- Move examples to an integrated Sphinx-Gallery, generated each time.
- Move from conda-channel
prisae
toconda-forge
. - Automatic deploy for PyPi and conda-forge.
Always EMArray
- Simplified and improved
empymod.utils.EMArray
. Now every returned array from the main modelling routinesbipole
,dipole
,loop
, andanalytical
is an EMArray with.amp
- and.pha
-attributes. - Theme and documentation reworked, to be more streamlined with
emg3d
(for easier long-term maintenance). - Travis now checks all the url's in the documentation, so there should be no broken links down the road. (Check is allowed to fail, it is visual QC.)
- Fixes to the
setuptools_scm
-implementation (MANIFEST.in
). ROADMAP.rst
moved to GitHub-Projects;MAINTENANCE.rst
included in manual.
setuptools_scm
- Typos from v1.10.0; update example in
model.loop
. - Implement
setuptools_scm
for versioning (adds git hashes for dev-versions).
Loop source and receiver
- New modelling routine
model.loop
to model the electromagnetic frequency- or time-domain field due to an arbitrary rotated, magnetic source consisting of an electric loop, measured by arbitrary rotated, finite electric or
magnetic bipole receivers or arbitrary rotated magnetic receivers consisting of electric loops. - Move copyright from «Dieter Werthmüller» to «The empymod Developers», to be more inclusive and open the project for new contributors.
Laplace
-
Laplace-domain calculation: By providing a negative
freq
-value, the calculation is carried out in the real Laplace domains = freq
instead of the complex frequency domains = 2i*pi*freq
. -
Improvements to filter design and handling:
DigitalFilter
now takes an argument (list of strings) for additional coefficients to the defaultj0
,j1
,sin
, andcos
.fdesign
can now be used with any name as attribute you want to describe the transform pair (until now it had to be eitherj0
,j1
,j2
,sin
, orcos
).- The provided sine and cosine transform pairs in
fdesign
can now be asked to return the inverse pair (time to frequency).
-
Other tiny improvements and bug fixes.
Scooby
pts_per_dec for DLF are now floats
-
pts_per_dec
are now floats, not integers, which gives more flexibility. -
Bugfix:
pts_per_dec
for DLF was actually points pere
, not per decade, as the natural logarithm was used. -
New
Versions
-class; improvement over theversions
-function, as it automatically detects if it can print html or not. -
Maintenance: Update
np.load
in tests withallow_pickle=True
for changes in numpy v1.16.3. -
Lots of changes to accommodate
emg3d
within theempymod
-org:- Adjust website, move stuff from website into README.md.
- /empymod/example-notebooks -> /empymod/empymod-examples.
- /empymod/asv -> /empymod/empymod-asv (and therefore now available at empymod.github.io/empymod-asv).
- /empymod/bench -> /empymod/empymod-bench.
-
Move manual from
empymod/__init__.py
to thedocs/manual.rst
, and the references to its own file. Change reference style. -
Move credits for initial funding from the license-section of the manual to CREDITS.rst, where it belongs.