Closed kujaku11 closed 5 months ago
Attention: 27 lines
in your changes are missing coverage. Please review.
Comparison is base (
3fbba97
) 26.46% compared to head (64e24c0
) 26.73%. Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
mtpy/modeling/modem/data.py | 9.09% | 20 Missing :warning: |
mtpy/core/mt.py | 14.28% | 6 Missing :warning: |
mtpy/core/mt_data.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
interpolate_na
which removes the nans at the beginning and end of the data and replaces them with extrapolated values, which are usually not great. Therefore we need to reinsert the nan's at the beginning and end of the interpolated data to keep true to the data. The keywordextrapolate=True
allows the user to skip this step, but is set toFalse
by default.MT
such that keyword arguments can be passed to the inheritedTF
object. This speeds up reading and initialization. Currently the initialization ofMT
runs_initialize_xarray
twice and that is costly.