-
Notifications
You must be signed in to change notification settings - Fork 25
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
Absorption correction #649
Conversation
Hello @psavery! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-09-25 19:23:38 UTC |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #649 +/- ##
==========================================
+ Coverage 36.41% 37.34% +0.93%
==========================================
Files 130 134 +4
Lines 21275 21737 +462
==========================================
+ Hits 7747 8118 +371
- Misses 13528 13619 +91
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -12,6 +12,7 @@ | |||
|
|||
install_reqs = [ | |||
'appdirs', | |||
'chemparse', |
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.
We will need to add chemparse
as a conda dependency as well.
f628914
to
7792abc
Compare
76d8b5b
to
e8616b4
Compare
…ormula and density. Tested and fixed absorption correction for filterpack and sample+window layer.
…er correction tested. physics package correction needs to be tested.
…o test the transmission functions
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Use pythonic formatting/naming, remove unused code. Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Remove old check accidentally reintroduced in rebase. Fix naming anglesToDVec -> angles_to_dvec. Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
These are not really that helpful, and make PRs difficult to read. If we want to see the coverage, we should just go to the codecov website. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This test compares the computed, normalized transmission with an expected one. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
8442669
to
2cabfe9
Compare
3.12 is having an import error on Windows, so pin to less than 3.12 until that is fixed. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
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.
Some minor issues with distortion which we will fix later. Otherwise LGTM
This adds a physics package class along with code to perform absorption corrections due to components of the physics package or components on the detectors.