Averaging function doesn't seem to have the option to disable standard deviation computation
The function cdsutils.avg
claims to have a kwarg that, if set to True
, computes the standard deviation of the channel value during the averaging period. It is supposed to default to False
. I find that it always is True
, and I seem to be unable to disable it by explicitly setting the kawrg to False:
In [1]: import cdsutils as cds
In [2]: cds.__version__
Out[2]: '1.4.1'
In [3]: cds.avg(1, 'C1:LSC-TRX_OUT_DQ', stddev=False)
Out[3]: (-0.0003272574977017939, 0.00019590313103305475)
In [4]: cds.avg(1, 'C1:LSC-TRX_OUT_DQ', stddev=True)
Out[4]: (-0.0003266211424488574, 0.00019756986088493458)
In [5]: cds.avg(1, 'C1:LSC-TRX_OUT_DQ')
Out[5]: (-0.00031510856933891773, 0.000197390372311685)