Closed prisae closed 5 years ago
msrc
, mrec
won't happen.
Duality is not good. The
mu_rparameter has first-order error (because of grad), compared to the
res`-parameters which have second-order errors in its current implementation. Instead, one should create an electric loop to model a magnetic source.get_e_field
is not required.mu_r
it will not be included tri-axial, unless there is once a real use-case coming up.Closing this for now. If anything of this affects you, please re-open.
I think this is mostly addressed via the new survey and simulation classes and survey.Dipole.
emg3d
can be used to model electric and magnetic sources with electric or magnetic receivers.How to get the magnetic response from the electric field is shown here:
How to calculate the electric and magnetic fields due to a magnetic source is shown in:
However, nicely implemented is the default, the electric field to an electric source.
Implement the other cases properly, with
msrc
andmrec
parameters just like inempymod
. Steps to take care of in doing so (not all are mandatory; just take magnetic loop sources and magnetic dipole receivers into account, should be fine):mu_r
from isotropic to tri-axial (otherwise duality will only work for isotropic resistivities). => https://github.com/empymod/emg3d/tree/triaxial-mu-r\eta
,\mu_r
to definitions\eta=V\sigma=V/\rho
,\zeta=V/\mu_r
.msrc
(el. dipole or loop) andmrec
(el. or magn. dipole) intoemg3d.solver
, hence there are four possible fields that can be returned; use duality (swap +/-; \eta/\zeta; src-dir).get_e_field
.exp(-iwt)
toexp(iwt)
(not necessary, just to make it more alikeempymod
and avoid occasional confusion).This, together with https://github.com/empymod/empymod/issues/47, will make
empymod
andemg3d
very similar in behaviour and possibilities.