emsig / empymod

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

Streamline coordinate system with emg3d #132

Closed prisae closed 3 years ago

prisae commented 3 years ago

Currently, the coordinate system is quite flexible: RHS (positive z upwards) or LHS (positive z downwards), where depths can be increasing or decreasing: https://empymod.emsig.xyz/en/stable/gallery/educational/coordinate_system.html

However, this has shown to be the source of a lot of confusion and many errors.

Streamline the coordinate system with emg3d, only one way how, RHS (positive z upwards): https://emg3d.emsig.xyz/en/stable/manual/info.html#coordinate-system

What can be left flexible is if one defines the interfaces increasing or decreasing. E.g.

Create a long deprecation cycle.

prisae commented 3 years ago

Here the PR's where the "changes" were introduced:

So this will probably not change: It was implemented originally a bit awkwardly (LHS), but it was never changed. Changing this is likely to create more problems than it solves, is backwards incompatible, and will not change anything in the end.

Better documentation could always help though...

prisae commented 3 years ago

Potentially related: https://github.com/emsig/empymod/issues/133