Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply floor truncation on Digitizer output by default. #225

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

brettviren
Copy link
Member

Previously, Digizer output fractional ADC values on the assumption that truncation was performed by subsequent file sink. As we now start to hook up NF+SP directly to sim, this truncation was being omitted leading to small discrepencies. Thanks @weihythu and Ewerton for finding this!

The "round" option still supported with same default being false.

This commit also does some temporary fixes some of the tests and leaves the tenio test failing. This is due to ongoing work in the apply-pointcloud branch. It requires recent wire-cell-python to be installed.

Previously, Digizer output fractional ADC values on the assumption
that truncation was performed by subsequent file sink.  As we now
start to hook up NF+SP directly to sim, this truncation was being
omitted leading to small discrepencies.  Thanks @weihythu and Ewerton
for finding this!

The "round" option still supported with same default being false.

This commit also does some temporary fixes some of the tests and
leaves the tenio test failing.  This is due to ongoing work in the
apply-pointcloud branch.  It requires recent wire-cell-python to be
installed.
@brettviren brettviren requested a review from HaiwangYu June 7, 2023 15:04
@brettviren brettviren merged commit 7bda3c3 into master Jul 24, 2023
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