Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 563
    • Issues 563
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 152
    • Merge requests 152
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • 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
  • BlissBliss
  • blissbliss
  • Issues
  • #1670
Closed
Open
Issue created May 29, 2020 by Matias Guijarro@matias.guijarroOwner

undulators: add 'undulator_prefix' in configuration

Scientists like to call undulators with a different name, so instead of defining undulators like this:

name: u27d
attribute_position: U27c_GAP_Position         # see the u27d->u27c translation
attribute_velocity: U27c_GAP_Velocity         # repeated for velocity...
attribute_acceleration: U27c_GAP_Acceleration # repeated for acceleration...
# missing FirstVelocity !
steps_per_unit: 1
velocity: 5
acceleration: 45
low_limit: 10
high_limit: 300

I would prefer this:

name: u27d
undulator_prefix: u27c_gap
...

We can deduce attributes automatically, without repeating the different attributes since the prefix is the same.

Assignee
Assign to
Time tracking