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
* Threshold to determine if a given peak should be considered as a noise, bases on its relative height compared to the highest peak.
11
+
* Threshold to determine if a given GSDPeak should be considered as a noise, bases on its relative height compared to the highest GSDPeak.
14
12
* @default 0.01
15
13
*/
16
14
minMaxRatio?: number;
17
15
/**
18
-
* If broadRatio is higher than 0, then all the peaks which second derivative smaller than broadRatio * maxAbsSecondDerivative will be marked with the soft mask equal to true.
16
+
* If broadRatio is higher than 0, then all the GSDPeaks which second derivative smaller than broadRatio * maxAbsSecondDerivative will be marked with the soft mask equal to true.
19
17
* @default 0.00025
20
18
*/
21
19
broadRatio?: number;
22
20
/**
23
-
* Select the peak intensities from a smoothed version of the independent variables.
21
+
* Select the GSDPeak intensities from a smoothed version of the independent variables.
24
22
* @default true
25
23
*/
26
24
smoothY?: boolean;
@@ -43,7 +41,7 @@ interface GsdOptions {
43
41
* @default -1
44
42
*/
45
43
/**
46
-
* Peaks are local maximum(true) or minimum(false)
44
+
* GSDPeaks are local maximum(true) or minimum(false)
47
45
* @default true
48
46
*/
49
47
maxCriteria?: boolean;
@@ -59,25 +57,32 @@ interface GsdOptions {
59
57
heightFactor?: number;
60
58
}
61
59
62
-
exportinterfacePeak{
60
+
exportinterfaceGSDPeak{
61
+
index: number;
63
62
x: number;
64
63
y: number;
65
64
width: number;
66
-
left?: number;
67
-
right?: number;
65
+
left?: {
66
+
x?:number,
67
+
index?:number,
68
+
};
69
+
right?: {
70
+
x?:number,
71
+
index?:number,
72
+
};
68
73
base?: number;
69
74
soft?: boolean;
70
75
kind?: string;
71
76
}
72
77
73
-
exportinterfaceOptimizePeaksOptions{
78
+
exportinterfaceOptimizeGSDPeaksOptions{
74
79
/**
75
-
* factor to determine the width at the moment to group the peaks in signals in 'GSD.optimizePeaks' function.
80
+
* factor to determine the width at the moment to group the GSDPeaks in signals in 'GSD.optimizeGSDPeaks' function.
0 commit comments