-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bufferization pipe #758
Bufferization pipe #758
Conversation
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.
After a test and some squashing this is ready for approval
@@ -141,6 +141,9 @@ def position_signal(triggers : List , | |||
pmt_q = np.asarray(pmt_charge.tolist()) | |||
sipm_q = np.empty((0,0))\ | |||
if sipm_charge.empty else np.asarray(sipm_charge.tolist()) | |||
else: |
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.
Could you add a test for this, it should be very straightforward. Something similar to
test_buffer_calculator
flow but just asserting that the output is the same when using pandas and numpy array as input?
Makes a compound component for use in buffy and the new parametrized detsim city
157741a
to
8c28229
Compare
8c28229
to
35a1c31
Compare
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.
moves some of the pipe from buffy to a compound component in components so it can be used by the parametrized detsim city (under development).
Also adds a couple of protections to the buffer functions so that they are safe for both cities.