You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGES
The function now use the `DataXY` input (an object with x:[] and y:[] properties).
The width of the peaks after gsd is the width between the 2 inflection points.
The width of the peaks after optimizePeaks is always FWHM
Copy file name to clipboardExpand all lines: README.md
+24-34Lines changed: 24 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,15 @@
1
1
# global-spectral-deconvolution
2
2
3
3
[![NPM version][npm-image]][npm-url]
4
-
[![build status][travis-image]][travis-url]
5
4
[![David deps][david-image]][david-url]
6
5
[![npm download][download-image]][download-url]
7
6
8
7
Global Spectra Deconvolution + Peak optimizer
9
8
9
+
`gsd`is using an algorithm that is searching for inflection points to determine the position of peaks and the width of the peaks are between the 2 inflection points. The result of GSD yield to an array of object containing {x, y and width}. However this width is based on the inflection point and may be different from the 'fwhm' (Full Width Half Maximum).
10
+
11
+
The second algorithm (`optimize`) will optimize the width as a FWHM to match the original peak. After optimization the width with therefore be always FWHM whichever is the function used.
0 commit comments