nmrium icon indicating copy to clipboard operation
nmrium copied to clipboard

NMRium does not detect the optimal contour levels

Open hamed-musallam opened this issue 8 months ago • 1 comments

We are facing an issue after auto-processing a 2D FID spectrum. NMRium does not detect the optimal contour levels, which differ from the output in Mestre. I also suggest making the 2D auto-processing a permanent feature rather than keeping it experimental.

for testing: 12.zip

Image

Image

This is the result once I change the contour levels manually

Image

hamed-musallam avatar Apr 25 '25 07:04 hamed-musallam

@jobo322 can you take a look at this issue?

hamed-musallam avatar May 08 '25 11:05 hamed-musallam

seems when there is auto-processing, the function that generate the default contour levels is not executed

directly nmrium is using the constant DEFAULT_CONTOURS_OPTIONS

instead of call getDefaultContoursLevel

jobo322 avatar May 28 '25 16:05 jobo322

By this PR https://github.com/cheminfo/nmrium/pull/3542 it looks much better

Image

jobo322 avatar May 28 '25 16:05 jobo322