Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bliss bliss
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 577
    • Issues 577
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 152
    • Merge requests 152
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bliss
  • blissbliss
  • Merge requests
  • !3689

Create a simulated 1D counter

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Valentin Valls requested to merge valentin.valls/bliss:sim1d into master May 10, 2021
  • Overview 1
  • Commits 8
  • Pipelines 4
  • Changes 3

This MR introduce a OneDimSimulationCounter in order to easily create simulated device with the right acquisition device.

It's a rework of a part of !3686 (merged) as an independent MR.

  • Create OneDimSimulationCounter based on SamplingCounter and the refactorization of the FixedShapeCounter
  • Add few other options to the signal generator (coef, poissonian, linear_up)

This can be used the following way

controller = OneDimSimulationController(name="onedim")
c1 = OneDimSimulationCounter("c1", controller=controller, signal="gaussian", coef=10, size=5)
c2 = OneDimSimulationCounter("c2", controller=controller, signal="linear_up", coef=10, poissonian=True, size=20)
Edited May 12, 2021 by Valentin Valls
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: sim1d