Repository navigation
Implement SCOPE digitiser firmware - #32
Merged
Merged
Conversation
`DPP-DSD` requires a `PRETRIG` value, `SCOPE` requires a `POSTTRG` value. These are output identically based on firmware type.
This required multiple changes to the way the day is collected and susbsequently processed.
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.
This PR introduces the
SCOPEdigitiser firmware into CARP, allowing for any compatible Dig 1* SCOPE digitisers to be used with CARP.This includes self-triggering, and software triggering. Three new configs have been added with small explanations of how each functions.
Other small changes were made to the structure of the read out file (due to unforeseen issues with HDF5 not being multithreaded). We may implement faster readout in the future, but I don't believe this to be our current bottleneck.
In making this PR, the speed of CARP has been noted to be relatively slow (maxing out at ~50Hz with N channels. It's not channel dependent) This may be in part due to python's GIL, but I believe we're losing speed elsewhere in the system. The GUI needs to be adjusted for high frequency data taking (#30) and the rest of the code needs to be assessed for performance (#31).
*Dig 1 is the only type I've tested to far, specifically with the V1730B digitiser
Here's a visualisation of the SCOPE digitiser working.

Screencast from 17-01-26 14_08_32.webm
And an example resultant output: