Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cdsutils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An extended maintenance, on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org, will occur tomorrow morning (17 May 2022) starting at approximately 9am MST. It is expected to take around two hours and GitLab will be in read only mode for the duration of the maintenance, further more there will be several periods of downtime. Please address any comments, concerns, or questions to computing-help@igwn.org.

  • CDS
  • software
  • cdsutils
  • Issues
  • #17

Closed
Open
Created Jul 10, 2020 by Gautam Venugopalan@gautam.venugopalan

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)
Assignee
Assign to
Time tracking