Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L Lima-camera-eiger
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • 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
  • LimaGroupLimaGroup
  • Lima-camera-eiger
  • Issues
  • #7
Closed
Open
Issue created Jan 14, 2021 by Laurent Claustre@claustreOwner

add energy threshold diff mode

by setting enabled the second threshold and the difference mode one get get an image = threshold2 - threshold1. So add a new attribute energy_threshold2 and a new command set_energy_threshold_diff_mode True or False

To set a specific energy as second threshold (in the example 52000 eV):

lid17medg> curl -X PUT http://lid17eiger2dcu.esrf.fr/detector/api/1.8.0/config/threshold/2/energy -H "Content-Type: application/json" -d '{"value": 52000}'

lid17medg> curl -X PUT http://lid17eiger2dcu.esrf.fr/detector/api/1.8.0/config/threshold/2/mode -H "Content-Type: application/json" -d '{"value": "enabled"}'

lid17medg> curl -X PUT http://lid17eiger2dcu.esrf.fr/detector/api/1.8.0/config/threshold/difference/mode -H "Content-Type: application/json" -d '{"value": "enabled"}'

Edited Feb 15, 2021 by Laurent Claustre
Assignee
Assign to
Time tracking