Skip to content

FastADC component - #516

Draft
fadybishara wants to merge 20 commits into
masterfrom
feat/fast-adc-component
Draft

FastADC component#516
fadybishara wants to merge 20 commits into
masterfrom
feat/fast-adc-component

Conversation

@fadybishara

Copy link
Copy Markdown
Contributor

Finally, here is a minimal working implementation! It is not complete yet but it's time to discuss the API, the basic structure and since this implementation is already functional, we need to decide what additional features should be implemented before making the first merge.

In particular, tere are two stub methods: .find_peaks and .pull_baseline. The question is how sophisticated they should be in this component. For example, SCS does baseline subtraction pulse by pulse. This can easily be implemented here using the ._pull_to_baselevel function in the newly created digitizers.py module.

Speaking of the digitizers module, more static methods from the ADQ component need to be moved there.

Once we come to an agreement, I will update and expand the doc strings and will write unit tests before a full-fledged PR can be merged.

pulses

@fadybishara fadybishara self-assigned this Jul 17, 2026
@fadybishara
fadybishara requested review from philsmt and takluyver July 17, 2026 13:57
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 29.06977% with 122 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.26%. Comparing base (c727444) to head (3313440).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/extra/components/adc.py 24.37% 121 Missing ⚠️
src/extra/components/adq.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #516      +/-   ##
==========================================
- Coverage   73.72%   73.26%   -0.47%     
==========================================
  Files          35       37       +2     
  Lines        6927     7133     +206     
==========================================
+ Hits         5107     5226     +119     
- Misses       1820     1907      +87     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant