new_columns=[
('output peak column', 'flat filter peaks', """
Name of the column (without units) to use as the peak output.
-""".split()),
+""".strip()),
],
arguments=[
Argument(name='peak info name', type='string',
default='flat filter peaks',
help="""
-Name (without units) for storing the list of peaks in the `.info`
-dictionary.
+Name for storing the list of peaks in the `.info` dictionary.
""".strip()),
] + plugin_arguments,
help=self.__doc__, plugin=plugin)
def _run(self, hooke, inqueue, outqueue, params):
+ self._add_to_command_stack(params)
params = self.__setup_params(hooke=hooke, params=params)
block = self._block(hooke=hooke, params=params)
dist_data = self._get_column(hooke=hooke, params=params,
name,def_unit = split_data_label(params['deflection column'])
params['output peak column'] = join_data_label(
params['output peak column'], def_unit)
- params['peak info name'] = join_data_label(
- params['peak info name'], def_unit)
return params
def _peak_name(self, params, index):