emg3d
emg3d copied to clipboard
Add data types 'amplitude' and 'phase'
- [x] Add to receivers the method
.data_type-
complex -
amplitude -
phase
-
- [x] Add to receivers the method
.derivative_chain - [x] Add a
data.complexdata set:-
data.complexcontains always the complex data -
data.syntheticcontains data in the form ofdata_type, which is the same type asdata.observed
-
- [x] Add to receivers the method
.from_complex; this can be used to obtain the data in the form ofdata_typefrom complex data:rec.from_complex(data). - [x] These changes have to be implemented throughout the
Simulationclass. - [ ] Verify implementation and add tests!
Pull Request Test Coverage Report for Build 1654674648
- 19 of 45 (42.22%) changed or added relevant lines in 3 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.6%) to 99.241%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| emg3d/electrodes.py | 3 | 12 | 25.0% |
| emg3d/simulations.py | 10 | 27 | 37.04% |
| <!-- | Total: | 19 | 45 |
| Totals | |
|---|---|
| Change from base Build 1654355318: | -0.6% |
| Covered Lines: | 4184 |
| Relevant Lines: | 4216 |
💛 - Coveralls
I start to thing that the chain rule for different data types should go to the residual/misfit computation, instead of how we have it now...