Spectral-Analysis-UPB / PyZEAL

Project dealing with the numerical calculation of zeros, poles and residues of holomorphic and meromorphic functions. It aspires to be a PYthon ZEAL (ZEros of AnaLytic functions, a Fortran90 package) successor.
https://pyzeal.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

Add precision setting. #20

Closed lwasmuth closed 1 year ago

lwasmuth commented 1 year ago

Add a new setting option precision with default value (5, 5).

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 69.76% and project coverage change: +1.14 :tada:

Comparison is base (d665ae9) 73.91% compared to head (1775195) 75.06%.

:exclamation: Current head 1775195 differs from pull request most recent head b128ec9. Consider uploading reports for the commit b128ec9 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #20 +/- ## ========================================== + Coverage 73.91% 75.06% +1.14% ========================================== Files 42 42 Lines 1177 1171 -6 ========================================== + Hits 870 879 +9 + Misses 307 292 -15 ``` | [Impacted Files](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB) | Coverage Δ | | |---|---|---| | [src/pyzeal/parallel\_finder.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbC9wYXJhbGxlbF9maW5kZXIucHk=) | `83.56% <ø> (ø)` | | | [src/pyzeal\_cli/cli\_parser.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF9jbGkvY2xpX3BhcnNlci5weQ==) | `0.00% <0.00%> (ø)` | | | [src/pyzeal\_settings/json\_settings\_service.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF9zZXR0aW5ncy9qc29uX3NldHRpbmdzX3NlcnZpY2UucHk=) | `73.55% <65.38%> (-3.22%)` | :arrow_down: | | [src/pyzeal\_settings/settings\_service.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF9zZXR0aW5ncy9zZXR0aW5nc19zZXJ2aWNlLnB5) | `71.42% <71.42%> (-0.99%)` | :arrow_down: | | [src/pyzeal/finder\_interface.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbC9maW5kZXJfaW50ZXJmYWNlLnB5) | `100.00% <100.00%> (ø)` | | | [src/pyzeal/rootfinder.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbC9yb290ZmluZGVyLnB5) | `80.26% <100.00%> (ø)` | | | [...zeal\_utils/pyzeal\_containers/rounding\_container.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF91dGlscy9weXplYWxfY29udGFpbmVycy9yb3VuZGluZ19jb250YWluZXIucHk=) | `65.07% <100.00%> (-5.89%)` | :arrow_down: | | [src/pyzeal\_utils/root\_context.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF91dGlscy9yb290X2NvbnRleHQucHk=) | `100.00% <100.00%> (ø)` | | | [src/pyzeal\_algorithms/polynomial\_holo.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF9hbGdvcml0aG1zL3BvbHlub21pYWxfaG9sby5weQ==) | `0.00% <0.00%> (-28.58%)` | :arrow_down: | | [src/pyzeal\_algorithms/simple\_holo\_newton.py](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB#diff-c3JjL3B5emVhbF9hbGdvcml0aG1zL3NpbXBsZV9ob2xvX25ld3Rvbi5weQ==) | `83.87% <0.00%> (-6.46%)` | :arrow_down: | | ... and [7 more](https://codecov.io/gh/Spectral-Analysis-UPB/PyZEAL/pull/20?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Spectral-Analysis-UPB) | | 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=Spectral-Analysis-UPB). 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=Spectral-Analysis-UPB)

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