emsig / empymod

Full 3D electromagnetic modeller for 1D VTI media
https://empymod.emsig.xyz
Apache License 2.0
85 stars 22 forks source link

ENH: Ensure src/rec are in the subsurface for analytic diffusive HS solution #186

Closed prisae closed 1 year ago

prisae commented 1 year ago

The analytical diffusive halfspace solution (Slob et al, 2010, PIER) is only defined for sources and receivers at the interface or within the subsurface. However, empymod does not check that, and will return a (mirrored) response even if source and receiver are placed in the air.

(In a way, what it returns is using abs(z), hence forcing it into the subsurface.)

TODO: Add check to ensure sources and receivers are in the subsurface. Add a note, don't check.