- self._arguments.extend([ # Non-configurable arguments
- Argument(name='retract block', type='string',
- default='retract',
- help="""
-Name of the retracting data block.
-""".strip()),
- Argument(name='input distance column', type='string',
- default='surface distance (m)',
- help="""
-Name of the column to use as the surface position input.
-""".strip()),
- Argument(name='input deflection column', type='string',
- default='deflection (N)',
- help="""
-Name of the column to use as the deflection input.
-""".strip()),
- Argument(name='output peak column', type='string',
- default='peak deflection',
- help="""
-Name of the column (without units) to use as the peak-maske deflection output.
-""".strip()),
- Argument(name='peak info name', type='string',
- default='flat filter peaks',
- help="""
-Name for storing the list of peaks in the `.info` dictionary.
-""".strip()),
- ])
- self._commands = [FlatPeaksCommand(self), FlatFilterCommand(self)]
+ self._commands = [FlatPeaksCommand(self)]
+ # append FlatFilterCommand so it can steal arguments from
+ # FlatPeaksCommand.
+ self._commands.append(FlatFilterCommand(self))