Skip to content
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

Atlas config #1806

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4958b76
Add the new FIDDLE instrument
Dec 11, 2024
d994e12
Add hdf5 path to known paths list
Dec 11, 2024
0336635
Support manually loading images and dark files
Dec 12, 2024
8a2ae5f
Try to automatically match images and dark files
Dec 12, 2024
3e1e5fc
Improve naming for clarity
Dec 12, 2024
6d87b8e
Make sure that the transform option is enabled on image load
Dec 16, 2024
2a167e5
Add property to simplify check for template
Dec 16, 2024
2896f79
Add some inline comments for clarity
Dec 16, 2024
045e46a
PEP8 fixes & use consistent formatting
Dec 16, 2024
c65ab2f
Infer which values are detectors and which are image plates
Dec 16, 2024
ae36b55
Add support for median filter intensity correction
Dec 17, 2024
f07b930
Only apply one template to an image at a time
Dec 17, 2024
d4104f6
Duplicate image plate image if it exists
Dec 17, 2024
9485377
PEP8 fixes
Dec 17, 2024
47100f2
Add default config for FIDDLE instrument
Dec 18, 2024
0670288
Memoize median filter results for FIDDLE
psavery Dec 18, 2024
dee7912
Refactor median kernel into its own dialog
Dec 22, 2024
8a063f1
Make sure kernel size is always stored as an int
Dec 22, 2024
119ba06
Do not apply the median filter during import
Dec 22, 2024
be4baf0
Re-organize reset function for readability
Dec 22, 2024
599fe0d
Automatically flip FIDDLE image plate
Dec 22, 2024
1a8c68e
Do not assume that dark files end with "003"
bnmajor Feb 26, 2025
78d4aa9
Fix event check for translate/rotate template
bnmajor Feb 28, 2025
b1a1c88
Fix constant value
bnmajor Feb 28, 2025
3d018fa
Improve final dialogs
bnmajor Feb 28, 2025
4fa62aa
Rescale colormap range when a new image is loaded
bnmajor Feb 28, 2025
1a7ef1e
Remember images directory
bnmajor Feb 28, 2025
c6dd44b
Make sure we are not transforming detector images
bnmajor Feb 28, 2025
e11c00c
Disable detecor image load during image plate load
bnmajor Feb 28, 2025
cc13653
Support ATLAS coordinates
bnmajor Mar 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add hdf5 path to known paths list
Signed-off-by: Brianna Major <[email protected]>
Brianna Major authored and bnmajor committed Mar 3, 2025
commit d994e12b5f2e468c37d07fd31dff817c1625be95
3 changes: 3 additions & 0 deletions hexrdgui/constants.py
Original file line number Diff line number Diff line change
@@ -78,6 +78,8 @@ class PolarXAxisType:

DOCUMENTATION_URL = 'https://hexrdgui.readthedocs.io/'

FIDDLE_HDF5_PATH = ['ATTRIBUTES/SHOT_IMAGE/ATTRIBUTES/FRAME_IMAGESFRAME_IMAGES/0/DATA', 'DATA']

KNOWN_HDF5_PATHS = [
['ATTRIBUTES/TARGET_ORIENTED_IMAGE/DATA', 'DATA'],
['ATTRIBUTES/PINHOLE_ORIENTED_IMAGE/DATA', 'DATA'],
@@ -87,6 +89,7 @@ class PolarXAxisType:
['ATTRIBUTES/TIME_ADJUSTED_IMAGE/DATA', 'DATA'],
['ATTRIBUTES/PSL_IMAGE/DATA', 'DATA'],
['DATA', 'DATA'],
FIDDLE_HDF5_PATH,
]

DEFAULT_LIMITED_CMAPS = [