Open lpatiny opened 4 years ago
I think spectrum-generator should simplify this part of code in simulate1D
Yes clearly. Just need to send an array of peaks to the spectrum-generator.
And we will also be able to decide the shape of the peaks that Damien wanted to test his multiplet analyser.
The goal is to migrate the code:
https://github.com/cheminfo-js/spectra/blob/master/packages/nmr-simulation/src/simulate1D.js
To use the package:
spectrum-generator
.This means that you simply send an array of peaks
We should simulate some trivial cases !
We should allow various peak shape (the option shape with kind / options should be allowed).
shape
is defined like https://github.com/cheminfo-js/spectra/blob/master/packages/nmr-simulation/src/simulate1D.js