ATWD/FADC charge distribution peaks using numba#36
Open
Conversation
…oPulseSeriesMap) to speed up the full detector extraction.
Author
…scripts from what's running at TACC
a9c6ab3 to
016ccff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Update the charge checks to use a njit function on a np.asarray(I3RecoPulseSeriesMap) to speed up the full detector extraction.
There's some wasted space here since I need to put everything into an ndarray using string/om indexing. I'm using a
shape=(87, 61, 200)array here for both ATWD and FADC. This leaves us with some wasted space with string/om=0, but makes indexing a bit easier to keep track of and only gives us(87+61-1) * (200 bins) = 117 kbwaste withnp.float32.There are two plotting scripts included here that give a bit of code for making the ATWD and FADC charge histograms for a single run and the percent difference between the two as a function of either time or run number. Three partial-run test files are included for the plotting demo.