Skip to content

Create sample stage

Valentin Valls requested to merge create-sample-stage into main

Create a TomoSampleStage in each TomoConfig

The aim is to reduce the amount of stuffs from the TomoConfig.

  • This break the beamlines configuration. Every axis have to be indented inside an extra (sample_stage:)
  • Every axis are still exposed inside TomoConfig for compatibility
  • Plus few unrelated fixes and typo
      - name: mrtomo_config
        plugin: bliss
        class: TomoConfig
        package: tomo.tomoconfig

        fscan_config: $fscan_mrtomo
        # object used to move sample out of the beam / in beam
        reference: $mrref_displ

        detectors: $mrdetectors_optic

--->    sample_stage:
            # Motor under the rotation in the direction of the beam
            translation_x: null
            # Motor under the rotation orthogonal to the beam and the vertical plan
            translation_y: $yrot_eh2
            # Motor under the rotation moving the sample vertically
            translation_z: $sz_eh2

            # Motor controlling the rotation axis
            rotation: $srot_eh2       # axis object for the tomo rotation

            # Real motor moving the sample on top of the rotation axis
            sample_u: $sx_eh2
            # Real motor moving the sample on top of the rotation axis
            sample_v: $sy_eh2
Edited by Valentin Valls

Merge request reports