Skip to content

Commit

Permalink
feat: remove twice declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Jan 13, 2021
1 parent fb81ac2 commit bb8d013
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ const keys = ['x', 'y', 'width', 'mu'];
*/
export function optimize(data, peaks, options = {}) {
let {
minFactorWidth = 0.25,
maxFactorWidth = 4,
minFactorX = 2,
maxFactorX = 2,
minFactorY = 0,
maxFactorY = 1.5,
minMuValue = 0,
maxMuValue = 1,
xGradientDifference,
yGradientDifference,
widthGradientDifference,
muGradientDifference = 0.01,
shape = { kind: 'gaussian' },
optimization = {
kind: 'lm',
Expand Down

0 comments on commit bb8d013

Please sign in to comment.