help='Block B in A-B.'),
Argument(name='x column', type='int', default=0,
help="""
-Column of data block to differentiate with respect to.
+Column of data to return as x values.
""".strip()),
- Argument(name='f column', type='int', default=1,
+ Argument(name='y column', type='int', default=1,
help="""
-Column of data block to differentiate.
+Column of data block to difference.
""".strip()),
],
help=self.__doc__, plugin=plugin)
assert a[:,params['x column']] == b[:,params['x column']]
out = Data((a.shape[0],2), dtype=a.dtype)
out[:,0] = a[:,params['x column']]
- out[:,1] = a[:,params['f column']] - b[:,params['f column']]
+ out[:,1] = a[:,params['y column']] - b[:,params['y column']]
outqueue.put(out)
class DerivativeCommand (Command):