MTgeophysics / mtpy-v2

Tools to work with magnetotelluric transfer functions, based on MTH5 and mt-metadata. This is an update to mtpy.
https://mtpy-v2.readthedocs.io/en/latest/index.html
MIT License
22 stars 7 forks source link

Add tf quality #37

Closed kujaku11 closed 1 week ago

kujaku11 commented 3 weeks ago

Add ability to estimate the quality of the transfer function directly in MT for archiving.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 93.71981% with 13 lines in your changes missing coverage. Please review.

Project coverage is 28.36%. Comparing base (701f556) to head (eeb6768).

Files Patch % Lines
mtpy/utils/estimate_tf_quality_factor.py 94.70% 9 Missing :warning:
mtpy/imaging/mtcolors.py 25.00% 3 Missing :warning:
tests/utils/test_emtf_quality_factors.py 96.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## updates #37 +/- ## =========================================== + Coverage 27.63% 28.36% +0.72% =========================================== Files 130 132 +2 Lines 21992 22041 +49 =========================================== + Hits 6078 6251 +173 + Misses 15914 15790 -124 ``` | [Flag](https://app.codecov.io/gh/MTgeophysics/mtpy-v2/pull/37/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics) | Coverage Δ | | |---|---|---| | [tests](https://app.codecov.io/gh/MTgeophysics/mtpy-v2/pull/37/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics) | `28.36% <93.71%> (+0.72%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTgeophysics#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.