PTB-M4D / PyDynamic

Python library for the analysis of dynamic measurements
https://ptb-m4d.github.io/PyDynamic/
GNU Lesser General Public License v3.0
25 stars 13 forks source link

Fix UMC_generic and add additional functionality #306

Closed mgrub closed 1 year ago

mgrub commented 1 year ago

This PR fixes #305 and also adds new functionality to the UMC_generic method.

UMC_generic can now:

Both options reduce the computational/memory requirements at the cost of . These options are useful for long output vectors (tested up to 1.5e6 entries), where the covariance matrix (likely) doesn't fit into memory any more. (E.g., for 1.5e6 entries, the covariance would need 16TiB, whereas the main diagonal only requires 12MiB. (64bit floats) )

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.13 :tada:

Comparison is base (482b7b7) 77.38% compared to head (a5c4f45) 77.52%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #306 +/- ## ========================================== + Coverage 77.38% 77.52% +0.13% ========================================== Files 29 29 Lines 2242 2251 +9 Branches 366 372 +6 ========================================== + Hits 1735 1745 +10 + Misses 380 379 -1 Partials 127 127 ``` | [Impacted Files](https://codecov.io/gh/PTB-M4D/PyDynamic/pull/306?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PTB-M4D) | Coverage Δ | | |---|---|---| | [src/PyDynamic/uncertainty/propagate\_MonteCarlo.py](https://codecov.io/gh/PTB-M4D/PyDynamic/pull/306?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PTB-M4D#diff-c3JjL1B5RHluYW1pYy91bmNlcnRhaW50eS9wcm9wYWdhdGVfTW9udGVDYXJsby5weQ==) | `70.45% <100.00%> (+1.82%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://codecov.io/gh/PTB-M4D/PyDynamic/pull/306/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PTB-M4D) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PTB-M4D). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PTB-M4D)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.