-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renamed variables in lq_cut, changed expression handling #107
Conversation
All tests are failing. I think you need to rename things in there too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have mainly some comments about the uncertainty handling, the returns and some of the naming.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #107 +/- ##
==========================================
- Coverage 20.91% 20.40% -0.52%
==========================================
Files 37 37
Lines 3380 3455 +75
==========================================
- Hits 707 705 -2
- Misses 2673 2750 +77 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The results
still need a fix.
I changed the function to use method dispatch. Is this like you suggested?
|
I now also changed in function |
Compared to the last pull request i removed the Union{Bitvector, nothing} type restriction and changed it to just Bitvector. In this version the |
@theHenks @fhagemann This pull request is finished from my side, i would be happy if you could review it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR features a lot of code duplication.
I commented where some functions can be combined to a single method by providing default values to the arguments.
Please also provide a plot using the new plot recipe, which makes it easier to review.
Here is an preview of the two plot recipes addedin this pull request. The second plot is accesed by specifying :fit. |
… tests lqcut and recipes
@fhagemann i implemented the discussed changes to include a default cut vector of trues, to reduce the code duplication |
@DaGeibl Can you run both the A/E and LQ processor with this update and check that BOTH perform as expected? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaGeibl verified that the A/E output is not at all affected by the modifications in this PR, so this should be good to go from my side
Some changes for the lq_cut
lq_ctc_correction
lq_e_corr_expression
anddt_eff_expression
to construct prop funccut_single_peak
insted of own pre-cutting method