-
Notifications
You must be signed in to change notification settings - Fork 17
Trapping correction module and app #184
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
Open
sophieehaight
wants to merge
59
commits into
cositools:develop/em
Choose a base branch
from
sophieehaight:trapping_correction_branch
base: develop/em
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
3aee0c3
troubleshooting trapping app
sophieehaight 92c5d45
adapted trapping app to intake Cs-137 data and output lineshifts
sophieehaight c2bc846
changed fitting range around Cs line
sophieehaight c1f937a
added depth binning on pixel and detector level
sophieehaight e2b1c0a
added depth binning but need to remove pixel by pixel fitting
sophieehaight 260fb35
added CTD binning and photopeak fits to LV and HV data
sophieehaight 18e835a
fixed fit plotting and reading out CTD bins dn centroids to param txt…
sophieehaight 53bb708
updated photopeak fit function w linear tail
sophieehaight f9a12c0
added output txt with spline fit for HV centroids
sophieehaight 29b13f9
now output only returns HV energy root fits and comprehensive txt fit…
sophieehaight b9e11f3
added centroid error to spline readout txt
sophieehaight 8bc3f4f
writes min and max CTD from data to splines txt file
sophieehaight 3d970d3
adapted module for trapping correction, wrote function for sim input …
sophieehaight ae68931
Adapted header to trapping correction
sophieehaight acf6b1f
added params for sim cce input file
sophieehaight 17cfbd6
added function for CCE corrected energy + interpolation helper function
sophieehaight b194068
updating hit energies with correction factor
sophieehaight 124d92b
added LV CCE column to sim read in
sophieehaight 46eb4b4
updated assembly files and removed GUI functionality
sophieehaight 50177b3
correction compiles error free
sophieehaight e1d03e2
added fitting and param readout for HV strips
sophieehaight a383733
removed spline fitting and consolidated to one param file output
sophieehaight 0f13cb3
fixed compilation error
sophieehaight 8187914
added GUI options for input param file
sophieehaight 34381ba
added expo with HV, LV photopeak plots
sophieehaight 3f8f109
implemented finish function to return line shift and corrected res
sophieehaight a9327e5
resolved conflicts with HDF loader
sophieehaight b7c1cb7
cleaned up commented code
sophieehaight b8f1556
cleaned up more commented code
sophieehaight df25e2b
updated HDF loader header file
sophieehaight e1923d1
I'm just trying to get the HDF loader module up to date
sophieehaight 5b3171e
fixed compiliation error
sophieehaight 7bc061c
Merge branch 'Cs_trapping_branch' into trapping_correction_branch
sophieehaight 40ff725
cleaned up commented code on trapping characterization app
sophieehaight ff21a0e
added dummy trapping parameter file to dee resource folder
sophieehaight 8157795
removed duplicate functions from depth cal and reassigned them as pub…
sophieehaight d970075
fixed compilation error with trapping app
sophieehaight 57a17db
removed duplicate code from trapping module and added depth cal gett…
sophieehaight a017321
cleaning out output from Cs trapping app
sophieehaight 6c5153b
updated trapping parameter file w corrected base cce simulations
sophieehaight a48ef40
updated sim CCE read in function to take four raw simulated CCE curve…
sophieehaight 8177668
updated function for corrected energy to scale HV,LV cce affected by …
sophieehaight 30799b8
updated dummy trapping parameter file
sophieehaight f5426c5
added gaurd against nullptr for domminant strip energies
sophieehaight 2f7b072
updated trapping param file to show depth in cm
sophieehaight cd9e879
added local position and corresponding getter/setter
sophieehaight c601dfa
write local position in depth cal and access local pos in trapping co…
sophieehaight 2a10c00
added HV,LV photopeak fitting and readout at end of anlaysis
sophieehaight 3a8b9f7
changed comment from mm to cm
sophieehaight fb8b087
added getter for expo histogram for outputting photopeak fit params
sophieehaight a480b75
updating trapping correction gui to compare corrected/uncorrected ene…
sophieehaight 962421c
fixed hist inputted energy range + scaled peak height
sophieehaight cf10a9d
added outputted hist fit statistics
sophieehaight 3e57639
corrected erroneous change
sophieehaight be838f7
added verbosity qualifiers for output and deleted unnecessary output
sophieehaight c19ab79
adding nn back
sophieehaight 43116c9
close file and exit after error
sophieehaight e55d064
changed cce filename _ removed unused variable
sophieehaight 0513b47
updated local position description
sophieehaight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
You added some
coutlines to this: should this stay, or was this primarily for debugging and can be removed?