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

Datum2DFid and Datum2DFT #1950

Closed lpatiny closed 1 year ago

lpatiny commented 1 year ago

The properties of 2D nmr spectra before and after FT are different.

Before FT we have:

While after FT we have:

In order to prevent any hacks it is better to have a base type: 'Datum2D'

This type is extended depending 'isFid' to

This will require a big search / replace but we currently nearly never have 2D Fid.

lpatiny commented 1 year ago

Duplicate https://github.com/cheminfo/nmrium/issues/1943 sorry