Skip to content
Snippets Groups Projects

HAMP and virtual sample mnemonics

Closed Martin Teichmann requested to merge new_mnemonics_2 into master
2 unresolved threads

@lleguy @mercadil

I added 2 new mnemonics: HAMP and virtual sample

feel free to edit them if you prefer a different name

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
265 265 'dim': None},),
266 266 "SCS_HAMP_HV": ({'source': 'SCS_BLU_XGM/XGM/DOOCS',
267 267 'key': 'hv.hamph.value',
268 268 'dim': None},),
  • 382 387 "FFT_FocusLens": ({'source': 'SCS_CDIFFT_FDM/MOTOR/BARLOW_1',
    383 388 'key': 'actualPosition.value',
    384 389 'dim': None},),
    390
    391 "virtual_image": ({'source': 'SCS_XRD_MOV/CAM/WALLSIDE:daqOutput',
    392 'key': 'data.image.pixels',
    393 'dim': ['y', 'x']},),
    394
    • Comment on lines +390 to +394

      I started a local branch for this that I didn't have time to push. The problem here is that we have used in the past whatever camera we found for this (WEBCAMERA1, 3, WALLSIDE, ...), so that WALLSIDE will only work for one beamtime but not all. Also, having simplyy and x as dimension names gives a risk of error when loading with other cameras (hRIXS_det for instance).

      Since the last two beamtimes, things are cleaned up. The Karabo device is called SCS_LIN_SCR/CAM/VIRTUAL_SAMPLE and will be updated if the camera is changed, but the name will stay. I suggest this for the associated mnemonic:

          "virtual_sample": ({'source': 'SCS_LIN_SCR/CAM/VIRTUAL_SAMPLE:daqOutput',
                              'key': 'data.image.pixels',
                              'dim': ['vs_y', 'vs_x']},),
      

      One could add other versions to this mnemonic (WALLSIDE, WEBCAMERA1 and WEBCAMERA3) for some backward compatibility, not sure if it is of much interest.

    • Please register or sign in to reply
  • Laurent Mercadier mentioned in merge request !261 (merged)

    mentioned in merge request !261 (merged)

  • Replaced by !261 (merged), closing

  • Laurent Mercadier mentioned in merge request !269 (closed)

    mentioned in merge request !269 (closed)

  • Please register or sign in to reply
    Loading