Closed bnmajor closed 1 month ago
Hello @bnmajor! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
hexrdgui/absorption_correction_options_dialog.py
:Line 71:80: E501 line too long (83 > 79 characters)
hexrdgui/hexrd_config.py
:Line 529:80: E501 line too long (89 > 79 characters)
hexrdgui/main_window.py
:Line 1666:80: E501 line too long (82 > 79 characters) Line 1667:80: E501 line too long (82 > 79 characters)
hexrdgui/physics_package_manager_dialog.py
:Line 76:80: E501 line too long (83 > 79 characters) Line 200:80: E501 line too long (81 > 79 characters)
hexrdgui/pinhole_correction_editor.py
:Line 157:80: E501 line too long (86 > 79 characters)
@psavery @saransh13 Some additional questions:
sample_materials
and window_materials
file like the pinhole_materials
which we do not have - do we need to create these files (and if so which materials should be included)? Or should we just use the pinhole_materials
file?
None
if it is not needed but that is not currently an option.
None
as well? If so, is it safe to assume that we will never call calc_transmission
(which calls calc_effective_pinhole_area
) without a pinhole?TARDIS
or PXRDIP
(and eventually BBXRD
) instrument we just automatically apply pinhole corrections?TARDIS
, but no clear solution for PXRDIP
.My thoughts are:
filter/coating/phosphor
will just be a dict within HEXRD)
- You can just use this function, Brianna. That detects both TARDIS and PXRDIP automatically (and only those two so far) based upon the detector names.
Looks like this only can guess TARDIS, or am I missing something? If not I can add PXRDIP
Relies on the HEXRD absorption-correction branch.