Skip to content

Commit

Permalink
fix: wrong convertion from standard deviation to FWHM
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Nov 16, 2020
1 parent 8d3a658 commit 66f1bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gaussian.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function gaussian(options = {}) {
} = options;

if (sd) {
fwhm = inflectionPointsWidthToFWHM(sd);
fwhm = inflectionPointsWidthToFWHM(2 * sd);
}

if (!length) {
Expand Down

0 comments on commit 66f1bd5

Please sign in to comment.