From: W. Trevor King Date: Tue, 18 May 2010 02:04:06 +0000 (-0400) Subject: Fix syntax errors in hooke.plugin.curve X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=b3143867dbba7d7fb405e3b94fe30f85645c89a9 Fix syntax errors in hooke.plugin.curve --- diff --git a/hooke/plugin/curve.py b/hooke/plugin/curve.py index 594f158..af427d6 100644 --- a/hooke/plugin/curve.py +++ b/hooke/plugin/curve.py @@ -183,7 +183,7 @@ Column of data block to differentiate. def _run(self, hooke, inqueue, outqueue, params): a = params['curve'].data[params['block one']] b = params['curve'].data[params['block two']] - assert a[:,params['x column']] == b[:,params['x column']]: + 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']] @@ -245,7 +245,7 @@ Column of data block to differentiate with respect to. help=""" Sampling frequency. """.strip()), - Argument(name='chunk size', type='int', 2048, + Argument(name='chunk size', type='int', default=2048, help=""" Number of samples per chunk. Use a power of two. """.strip()),