-
Notifications
You must be signed in to change notification settings - Fork 1
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 pystxm operations #1
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # .gitignore # xicam/spectral/__init__.py
# Conflicts: # .gitignore # setup.py # xicam/spectral/__init__.py # xicam/spectral/ingestors/__init__.py
# Conflicts: # xicam/spectral/__init__.py
# Conflicts: # xicam/spectral/projectors/__init__.py # xicam/spectral/stages/__init__.py
# Conflicts: # xicam/spectral/operations/decomposition.py
@@ -66,6 +66,7 @@ def ingest_cxi(paths): | |||
sorted_entry_list = sorted(h5_entry_dict.items(), key=lambda item: item[1]) | |||
# TODO check if energies are "continuous" or have interruptions | |||
# the removal of last for entries is only temporary due to the example dataset | |||
# FIXME what to do if some energies are 'out of range'? |
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.
refer to nx tycho to see if we can put these reference energies in a different field (may have to extend the spec)
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.
heuristics, or acquisition-side definition of the reference energies
(just writing these comments for later notes - fine to keep this in for now)
@@ -42,10 +44,16 @@ def __init__(self): | |||
super(SpectralBase, self).__init__() | |||
|
|||
def treatment_kwargs(self, workflow): | |||
intent_name = ['hyperspectral_data', 'ptychography data', 'IR maps'] |
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.
@ronpandolfi what's the best way to attribute scientific meaning through intents?
self.add_operation(denoise) | ||
self.add_operation(calc_OD) | ||
self.add_operation(lstsq_fit) | ||
# self.auto_connect_all() | ||
#connect one operation's output with another operation's input | ||
# self.add_link() | ||
|
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 connections, move to Xi-CAM.STXM
Basic operation/workflow example for discussion