-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
726 Change rounding in PMT simulation
#726 [author: andLaing] Changes the way the output of the PMT simulation used in diomira is converted to integer to better simulate the ADC. This change should remove or significantly improve the ~15% loss of signal observed in passing MC through the diomira city. [reviewer: mmkekic] This PR fixes ~15% signal loss after passing through diomira. The main changes are: - Using `round` instead of `floor` for adc converter simulation (a test is added to show that for each PMT the mean ADC is equivalent to the gain). - Change `daq_decimate` to use `scipy` default (a test is added to show that the signal is maintained after the down-sampling). - Change ADC central values. All the algorithm changes are discussed and approved by V. Herrero. Good job Andrew in recovering our MC signal!
- Loading branch information
Showing
7 changed files
with
108 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
3 changes: 3 additions & 0 deletions
3
invisible_cities/database/test_data/Kr83_nexus_v5_03_00_ACTIVE_7bar_3evts.CRWF.h5
Git LFS file not shown
Git LFS file not shown
This file contains 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
This file contains 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