20
20
21
21
package net .sf .mzmine .modules .masslistmethods .ADAPchromatogrambuilder ;
22
22
23
+ import java .awt .Window ;
24
+
23
25
import net .sf .mzmine .main .MZmineCore ;
24
26
import net .sf .mzmine .parameters .Parameter ;
25
27
import net .sf .mzmine .parameters .dialogs .ParameterSetupDialog ;
26
28
import net .sf .mzmine .parameters .impl .SimpleParameterSet ;
27
29
import net .sf .mzmine .parameters .parametertypes .DoubleParameter ;
30
+ import net .sf .mzmine .parameters .parametertypes .IntegerParameter ;
28
31
import net .sf .mzmine .parameters .parametertypes .MassListParameter ;
29
32
import net .sf .mzmine .parameters .parametertypes .StringParameter ;
30
33
import net .sf .mzmine .parameters .parametertypes .selectors .RawDataFilesParameter ;
33
36
import net .sf .mzmine .parameters .parametertypes .tolerances .MZToleranceParameter ;
34
37
import net .sf .mzmine .util .ExitCode ;
35
38
36
- import java .awt .*;
37
-
38
39
public class ADAPChromatogramBuilderParameters extends SimpleParameterSet {
39
40
40
41
public static final RawDataFilesParameter dataFiles = new RawDataFilesParameter ();
@@ -44,22 +45,19 @@ public class ADAPChromatogramBuilderParameters extends SimpleParameterSet {
44
45
45
46
public static final MassListParameter massList = new MassListParameter ();
46
47
47
- public static final DoubleParameter minimumScanSpan = new DoubleParameter (
48
+ public static final IntegerParameter minimumScanSpan = new IntegerParameter (
48
49
"Min group size in # of scans" ,
49
50
"Minimum scan span over which some peak in the chromatogram must have (continuous) points above the noise level\n "
50
51
+ "to be recognized as a chromatogram.\n "
51
52
+ "The optimal value depends on the chromatography system setup. The best way to set this parameter\n "
52
53
+ "is by studying the raw data and determining what is the typical time span of chromatographic peaks." ,
53
- MZmineCore .getConfiguration ().getRTFormat ());
54
-
55
- public static final DoubleParameter minimumHeight = new DoubleParameter ("Min height" ,
56
- "Minimum intensity of the highest data point in the chromatogram. If chromatogram height is below this level, it is discarded." ,
57
- MZmineCore .getConfiguration ().getIntensityFormat ());
54
+ 5 , true , 2 , null );
58
55
59
56
public static final MZToleranceParameter mzTolerance = new MZToleranceParameter ();
60
57
61
58
public static final StringParameter suffix =
62
59
new StringParameter ("Suffix" , "This string is added to filename as suffix" , "chromatograms" );
60
+
63
61
// Owen Edit
64
62
public static final DoubleParameter IntensityThresh2 = new DoubleParameter (
65
63
"Group intensity threshold" ,
0 commit comments