cheminfo / nmrium

React component to display and process nuclear magnetic resonance (NMR) spectra.
https://docs.nmrium.org
MIT License
55 stars 25 forks source link

Cannot pick multiplets in 19F NMR spectrum #3000

Closed schatzsc closed 1 month ago

schatzsc commented 5 months ago

When typing to select the doublet peak in the 19F NMR of hexafluorophosphate [PF6]- due to coupling with the I = 1/2 31P nucleus, NMRium does not allow one to select the peaks with an error message "Advanced peak picking only available for area up to 2048 points" although such large coupling constants (here 711 Hz) are very common in heteronuclear NMR (and there are even larger ones, see link below, like a 1253 Hz 2JHg,F coupling in Hg(CF3)2)

Screenshot 2024-03-27 at 18-23-22 Chemotion

https://fluorine.ch.man.ac.uk/research/nmr_terms.php?n_nuclei=6&I_nuclei=0.5

hamed-musallam commented 5 months ago

Hello @schatzsc

I suspect you may be using an old version of NMRium. Would you mind trying out the most recent version, 0.53.0, available at https://dev.nmrium.org/?

Screenshot 2024-03-28 at 09 52 08

lpatiny commented 5 months ago

@schatzsc Could you upload a public JCAMP-DX file that has this coupling ? You can add it in an issue zipped.

schatzsc commented 5 months ago

At the moment I only have the file that I can export from our Chemotion NMRium instance using "Export as -> Save data as" but since there is also an import function I hope it can be re-imported in another NMRium system.

19FNMR.zip

schatzsc commented 5 months ago

Still not working, when I try to select the two peaks between -71 and -74 ppm which form a dublet with a very large 1J(F-P) coupling, I get the following error message:

Not sure what the "windowSize" referes to?!? I have a very large LCD screen of something like 32" Philips 328P6VU with 3840x2160 resolution which also caused problems with earlier versions of Chemotion, so maybe it is a display-specific issue?

Screenshot 2024-04-03 202606

lpatiny commented 5 months ago

windowSize is related to peak picking algorithm and not the computer screen.

schatzsc commented 5 months ago

Ok, then maybe the peak picking algorithm uses a too small window to look for associated signals of a multiplet pattern.

The 1J(F-P) coupling in hexafluorophosphate is 711 Hz:

Link

schatzsc commented 5 months ago

Another issue that will likely cause problems for example with 13C-19F coupling is due to the fact that multiplets are overlapping.

For example, there can be two 13C NMR signals which are both split to a rather large dublet that show up as follows:

A1 B1 A2 B2

Where A is 1st dublet and B is 2nd dublet. An automated peak picking will then likely combine A1 and B1 as well as A2 and B2 - for such instances manual selection would be essential.

Furthermore, we also very often have complicated multiplets like ddd or dt or td

jobo322 commented 3 months ago

Currently, the range picking use a default value of 16 Hz to merge peaks into a signal. So we should expose those options in order to manage this case of use.

schatzsc commented 3 months ago

Maybe part of the information was lost when the spectrum was exported from Chemotion?!?

Please find attached below another 19F NMR showing the same large splitting of around 700 Hz due to 1J(F-P) coupling in hexafluorophosphate (Standard Bruker format from approx. 2018):

19F NMR.zip

jobo322 commented 3 months ago

Could you try to export the same nmrium file from chemotion to test it please. With the shared jcamp file and manually range picking I got it.

image
jobo322 commented 3 months ago

@lpatiny should we export more xyAutoRangePicking options for those case of use or adapt the frequency clustering by nucleus.

schatzsc commented 3 months ago

@jobo322 Here is the above 19F NMR after the "round trip" upload to Chemotion (now version 1.9.3) -> open in internal NMRium (version included unclear to me) -> export from internal NMRium together with the options used. I don't remember which options were used the previous time - maybe that is the reason for missing data that not all options were checked?!?

19F-NMR-from_chemotion.zip

nmrium save file options