Skip to content

samplescan: Per scan Yaml configuration

Valentin Valls requested to merge samplescan-params into master

Closes daiquiri-tomo#24 (closed)

Closes daiquiri-ui#51 (closed)

Closes daiquiri-ui#53 (closed)

Closes daiquiri-ui#49 (closed)

This MR allows to parametrize by configuration a samplescan actor.

  • Allow to specify an implementor
  • Allow to specify a config which is passed to the actor at the creation and can then be used at the execution.
  • Allow to specify tags per scan actors

This allows to share the same implementation at many beamlines. And still they can copy paste the code and tune it if they want. This also allow to reuse the same implementation with different environments.

This MR also contains tomo implementation, but we can move it into another MR.

I use it the following way.

component: samplescan
scans:
  - actor: fullfieldscan
    implementor: daiquiri.implementors.tomo.fullfieldscan
    config:
       # name of the BLISS object holding the fullfield parameters (FullFieldTomo)
       fullfield_object: fulltomo3

  - actor: tilingscan
    implementor: daiquiri.implementors.tomo.tilingscan
    tags:
      - tomo-tiling
Edited by Valentin Valls

Merge request reports