LSSTDESC / rail_base

Base classes for RAIL
MIT License
0 stars 1 forks source link

45 parallelize point est hist and naive stack #64

Closed joselotl closed 9 months ago

joselotl commented 10 months ago

Problem & Solution Description (including issue #)

This PR parallelizes naive stack. It modifies some of the logic from input_iterator and adds functions to data.py in order to be able to use the iterator to qp ensambles.

Code Quality

codecov[bot] commented 10 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (da3a845) 97.13% compared to head (0f62392) 96.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #64 +/- ## ========================================== - Coverage 97.13% 96.95% -0.18% ========================================== Files 32 32 Lines 1675 1709 +34 ========================================== + Hits 1627 1657 +30 - Misses 48 52 +4 ``` | [Files](https://app.codecov.io/gh/LSSTDESC/rail_base/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC) | Coverage Δ | | |---|---|---| | [src/rail/core/stage.py](https://app.codecov.io/gh/LSSTDESC/rail_base/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvY29yZS9zdGFnZS5weQ==) | `99.14% <100.00%> (+0.03%)` | :arrow_up: | | [src/rail/core/data.py](https://app.codecov.io/gh/LSSTDESC/rail_base/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvY29yZS9kYXRhLnB5) | `99.23% <88.88%> (-0.37%)` | :arrow_down: | | [src/rail/estimation/algos/naive\_stack.py](https://app.codecov.io/gh/LSSTDESC/rail_base/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvZXN0aW1hdGlvbi9hbGdvcy9uYWl2ZV9zdGFjay5weQ==) | `94.73% <90.62%> (-5.27%)` | :arrow_down: |

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