-
Notifications
You must be signed in to change notification settings - Fork 59
Lab6's tools: timistamp, waveform's max, min and rms branches FIXED #368
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
Conversation
Added CalcMinMaxAmp method to LAPPDTraceMax class.
Added a new function to calculate minimum and maximum amplitudes along with RMS, standard deviation, variance, and integral of the waveform.
Added new variables for noise study and metadata timestamps also adding RMS, min and max waveform amplitudes fro dark room data
Removed unnecessary closing brace and adjusted formatting.
jminock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
marc1uk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very minor comments
|
|
||
| //std::cout<<"-------------TIMESTAMP In tree ---------------------------------"<<std::endl; | ||
| int meta_timestamp_int; | ||
| std::string meta_timestamp = acdcmetadata[204] + acdcmetadata[206] + acdcmetadata[208] + acdcmetadata[210]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use at method or check vector size.
Can we have some explanation for magic numbers 204, 206, 208, 210? or define enums instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added more comments about the numbers and also I al using at
Added error handling for ACDCmetadata retrieval and refactored timestamp extraction from ACDC metadata.
Refactor CalcMinMaxAmp function to correct min/max assignments and removing double mean calculation.
|
Thanks Marvin 👍 |
|
Thank you for checking. I added in hurry those branches to have more sense of the lab6 data. We are still using them and I PR without cleaning |
Describe your changes
Tools:
LAPPDClusterTree
LAPPDTraceMax
Waveform amplitude max, min, rms variables added in LAPPDTraceMax.
Branches related to the variables able plus the timestamps added in LAPPDClusterTree
OBS:
Those tools are important for the LAPPD testing at Lab6.