cheminfo-js / spectra-data

Library to deal with spectra (IR, UV, ...), 1D NMR as well as 2D NMR
https://cheminfo-js.github.io/spectra-data
MIT License
4 stars 0 forks source link

Wrong recalculation of integrals #60

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

We have a problem with the recalculation of the integrals and didn't identify from where it comes. I guess it is from spectra-data but it is to be checked.

Please could you try to:

Define the total number of hydrogens and check the results

lpatiny commented 7 years ago

For the problem itself you can go to page: http://www.c6h6.org and check the image

When I change the integral for example for the '5' value I obtain: image The sum is not 5. There is somewhere some rounding that should be removed.