Open SamuelBorden opened 8 months ago
Attention: Patch coverage is 62.98343%
with 67 lines
in your changes are missing coverage. Please review.
Project coverage is 25.51%. Comparing base (
ae3752a
) to head (7fdd904
). Report is 50 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/pygama/pargen/extract_tau.py | 62.98% | 67 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ggmarshall @SamuelBorden can this be merged to main or will mess up with the refactor?
I need to change some imports from the energy cal routines, but then it should be good to go. I'll work on synergizing this with the pargen refactor
The function
get_dpz_decay_constants
works to get the constants needed for the double pole zero filter in three steps:This is a first pass at the routine, so we should think maybe a bit more about where to put this in the dataflow. Right now this quickly interfaces with the single pole-zero dataflow script; to do that, the superpulse is created inside the function
get_dpz_decay_constants
. But we might want to makeget_dpz_decay_constants
a bit more general and instead create the superpulse in the dataflow.There are other issues currently with the double pole zero filter, see https://github.com/legend-exp/dspeed/pull/52. So I am going to mark this as a draft PR