Skip to content

add pystxm operations - #1

Open
JulReinhardt wants to merge 38 commits into
masterfrom
operations_pystxm
Open

add pystxm operations#1
JulReinhardt wants to merge 38 commits into
masterfrom
operations_pystxm

Conversation

@JulReinhardt

@JulReinhardt JulReinhardt commented Jun 26, 2020

Copy link
Copy Markdown
Contributor

Basic operation/workflow example for discussion

  • will we put the GUIPlugin in init.py or and extra SpectralPlugin.py?
  • can there be multiple workflows, e.g. STXM, ARPES, PEEM, ...? How is that implemented?
  • if no links between operations are defined, can they still be activated in the workfloweditor?

@JulReinhardt JulReinhardt changed the title following examplePlugin add pystxm operations Aug 27, 2020
Comment thread setup.py Outdated
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'?

Copy link
Copy Markdown
Contributor

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)

Copy link
Copy Markdown
Contributor

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)

Comment thread xicam/spectral/projectors/__init__.py Outdated
super(SpectralBase, self).__init__()

def treatment_kwargs(self, workflow):
intent_name = ['hyperspectral_data', 'ptychography data', 'IR maps']

Copy link
Copy Markdown
Contributor

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.auto_connect_all()
#connect one operation's output with another operation's input
# self.add_link()

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants