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

hyperspyui magic? #129

Open
francisco-dlp opened this issue Apr 15, 2017 · 2 comments
Open

hyperspyui magic? #129

francisco-dlp opened this issue Apr 15, 2017 · 2 comments

Comments

@francisco-dlp
Copy link
Member

francisco-dlp commented Apr 15, 2017

Would a %hyperspyui magic that opens HyperSpyUI and registers all the signals in the current namespace be feasible?

And the reverse, connecting to the IPython kernel in the HyperSpyUI session from e.g. a notebook?

@vidartf
Copy link
Member

vidartf commented Apr 15, 2017

I'm a little confused about the details of this question. Maybe these can help narrow them:

  • What do you mean registers all the signals in the current namespace ?
  • What kind of use cases are you imagining?

I'm not sure how easy it is to expose an in-process kernel to the outside, but as far as I can see, that is what would need to be done.

@francisco-dlp
Copy link
Member Author

francisco-dlp commented Apr 15, 2017

What do you mean registers all the signals in the current namespace

Search the namespace for variables containing HyperSpy signals and add them to the "Data view" panel.

What kind of use cases are you imagining?

HyperSpyUI solves one of the main annoyances of HyperSpy: the lack of a "figure manager". So, when working with many figures at the same time, one can call %hyperspyui and use it as a figure manager.

Connecting a notebook to a ipython session running in hyperspyui would make it easier to e.g. create long scripts/plugins in hyperspyui.

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

No branches or pull requests

2 participants