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

SFViewer - Show individual Spectrum #43

Open
tknopp opened this issue Sep 21, 2022 · 0 comments
Open

SFViewer - Show individual Spectrum #43

tknopp opened this issue Sep 21, 2022 · 0 comments

Comments

@tknopp
Copy link
Member

tknopp commented Sep 21, 2022

In the system matrix viewer it would be nice to click on a position and show the spectrum at that position. This might be slow, because the SM is not fully loaded but it should be doable.

Remarks / Implementation strategy:

  • One will likely also want to see the time data and then one can just reuse a "RawDataViewer", which could be opened in a new window. This would allow the user even to open several spectra and compare them on the screen.
  • Loading data is done by getMeasurement.
  • The clicked position is somewhere in the DataViewer. If one wants the spectrum to be opened on double click, one needs a callback in the DataViewer. So the SFViewer would create a function that is called and this function needs to be registered within the DataViewer. The reason is that the DataViewer should not know anything about the SFViewer.
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

1 participant