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

Toggle between 2D / stack spectrum #3297

Open
lpatiny opened this issue Nov 24, 2024 · 0 comments
Open

Toggle between 2D / stack spectrum #3297

lpatiny opened this issue Nov 24, 2024 · 0 comments

Comments

@lpatiny
Copy link
Member

lpatiny commented Nov 24, 2024

A 2D spectrum is a set of 1D spectra and sometimes we would like to see them as stacked 1D spectra.

We should therefore add a toggle that allows to switch between contour plot and stacked 1D spectra. This should be done 'per 2D spectrum'. It is not a problem if the other 2D spectra disappear when one of them is in this stacked mode.

This would look like:

Image

And we could think about an horizontal shift from one spectrum to another.

The vertical scale would apply on all the 1D spectra because there is no way to select one of them.

We should also think about making those white peaks. This requires to create a svg filled polygon. Not sure how the xyReduce would behave but anyway the 'optimize' option should be set to 'true'.

It would also be reasonable to display max 128 1D spectra (or a defined number of spectra)

Ref: https://chem.libretexts.org/Bookshelves/Analytical_Chemistry/Physical_Methods_in_Chemistry_and_Nano_Science_%28Barron%29/04%3A_Chemical_Speciation/4.07%3A_NMR_Spectroscopy

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

No branches or pull requests

1 participant