-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add nexus reader #387
base: master
Are you sure you want to change the base?
Add nexus reader #387
Conversation
|
||
Enhancements: | ||
- Adds nexus ".nxs" files reader #387 | ||
|
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.
add updated viewer version
target_size = kwargs.get('target_size', 0.125) | ||
origin = kwargs.get('origin', (0, 0, 0)) | ||
target_z_extent = kwargs.get('target_z_extent', (0, 0)) | ||
bits_per_byte = 16 |
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.
needs checking
@@ -561,6 +599,97 @@ def loadTif(*args, **kwargs): | |||
# all good, return 0 | |||
return 0 | |||
|
|||
def loadNxs(*args, **kwargs): | |||
""" | |||
Loads a NeXus (.nxs) file and processes its dataset into a raw image format. |
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.
Loads a NeXus (.nxs) file and processes its dataset into a raw image format. | |
Loads a NeXus (.nxs) file and processes its dataset into a vtkImageData. |
Closes #192