self._arguments = [ # For Command initialization
Argument('median filter', type='int', default=7, help="""
Median window filter size (in points).
+""".strip()),
+ Argument('blind window', type='float', default=20e-9, help="""
+Meters after the contact point where we do not count peaks to avoid
+non-specific surface interaction.
+""".strip()),
+ Argument('min peaks', type='int', default=4, help="""
+Minimum number of peaks for curve acceptance.
""".strip()),
] + copy.deepcopy(find_peaks_arguments)
# Set flat-filter-specific defaults for the fit_peak_arguments.
name='flat filter peaks',
arguments=[
CurveArgument,
- Argument('blind window', type='float', default=20e-9, help="""
-Meters after the contact point where we do not count peaks to avoid
-non-specific surface interaction.
-""".strip()),
- Argument('median window', type='float', default=7, help="""
-Number of points to use in the initial rolling median filter.
-""".strip()),
] + config_arguments,
help=self.__doc__, plugin=plugin)