sm_bluesky.beamlines.i10.plans#

Bluesky plans for beamline I10.

Members

align_dsd

Align the down stream detector slit

align_dsu

Align the up stream detector slit

move_dsd

Move down stream detector slit either by it size in slit motor table or by motor position.

move_dsu

Move up stream detector slit either by it size in slit motor table or by motor position.

direct_beam_polan

Move polarization analyzer out of the way of the beam.

clear_beam_path

Move everything out of the way of the direct beam

open_dsd_dsu

Remove both detector slits

open_s5s6

Open up clean up slits s5 and s6.

remove_pin_hole

Move pin hole out of the way of the pin

centre_alpha

Centre rasor alpha using Rasor dector.

centre_tth

Centre two theta using Rasor dector.

centre_det_angles

Centre both two theta and alpha angle on Rasor

move_pin_origin

Move the point to the centre of rotation.

sm_bluesky.beamlines.i10.plans.align_dsd(size: float, det: StandardReadable = 'rasor_femto_pa_scaler_det', det_slits: DetSlits = 'det_slits') Generator[Msg, Any, P][source]#

Align the down stream detector slit

sm_bluesky.beamlines.i10.plans.align_dsu(size: float, det: StandardReadable = 'rasor_femto_pa_scaler_det', det_slits: DetSlits = 'det_slits') Generator[Msg, Any, P][source]#

Align the up stream detector slit

sm_bluesky.beamlines.i10.plans.move_dsd(size: float, slit_table: dict[str, float] = {'100': 29.3, '1000': 19.3, '50': 34.3, '500': 26.5, '5000': 14.3}, use_motor_position: bool = False, wait: bool = True, group: Hashable | None = None, det_slits: DetSlits = 'det_slits') Generator[Msg, Any, P][source]#

Move down stream detector slit either by it size in slit motor table or by motor position.

sm_bluesky.beamlines.i10.plans.move_dsu(size: float, slit_table: dict[str, float] = {'100': 31.7, '1000': 21.7, '50': 36.7, '500': 25.674, '5000': 16.7}, use_motor_position: bool = False, wait: bool = True, group: Hashable | None = None, det_slits: DetSlits = 'det_slits') Generator[Msg, Any, P][source]#

Move up stream detector slit either by it size in slit motor table or by motor position.

sm_bluesky.beamlines.i10.plans.direct_beam_polan(wait: bool = True, group: Hashable | None = None, pa_stage: PaStage = 'pa_stage') Generator[Msg, Any, P][source]#

Move polarization analyzer out of the way of the beam.

Parameters:
  • wait (bool) – If this is true it will wait until all motions are done.

  • (optional) (pa_stage) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

  • (optional) – Polarisation analyser stage to move.

sm_bluesky.beamlines.i10.plans.clear_beam_path(wait: bool = True, group: Hashable | None = None, slits: I10Slits = 'slits', det_slits: DetSlits = 'det_slits', pin_hole: XYStage = 'pin_hole', pa_stage: PaStage = 'pa_stage') Generator[Msg, Any, P][source]#

Move everything out of the way of the direct beam

Parameters:
  • wait (bool) – If this is true it will wait until all motions are done.

  • (optional) (pa_stage) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

  • (optional) – Slits to open.

  • (optional) – Detector slits to open.

  • (optional) – Pin hole to move out of the way of pin.

  • (optional) – Polarisation analyser stage to move out of the way of the beam.

sm_bluesky.beamlines.i10.plans.open_dsd_dsu(open_position: float = 3, wait: bool = True, group: Hashable | None = None, det_slits: DetSlits = 'det_slits') Generator[Msg, Any, P][source]#

Remove both detector slits

Parameters:
  • open_position (float) – The position of the opening.

  • wait (bool) – If this is true it will wait until all motions are done.

  • (optional) (det_slits) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

  • (optional) – slits to move open_position to.

sm_bluesky.beamlines.i10.plans.open_s5s6(size: float = 10, wait: bool = True, group: Hashable | None = None, slits: I10Slits = 'slits') Generator[Msg, Any, P][source]#

Open up clean up slits s5 and s6.

Parameters:
  • size (float) – The size of their opening both x and y will set to the same value.

  • wait (bool) – If this is true it will set both slits to move and wait until it get to position.

  • (optional) (slits) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

  • (optional) – Slit to set tje soze of the opening to.

sm_bluesky.beamlines.i10.plans.remove_pin_hole(open_position: float = 69, wait: bool = True, group: Hashable | None = None, pin_hole: XYStage = 'pin_hole') Generator[Msg, Any, P][source]#

Move pin hole out of the way of the pin

Parameters:
  • open_position (float) – The position of the opening.

  • wait (bool) – If this is true it will wait until all motions are done.

  • (optional) (pin_hole) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

  • (optional) – pin hole device to move.

sm_bluesky.beamlines.i10.plans.centre_alpha(det: StandardReadable = 'rasor_femto_pa_scaler_det', det_name: str = '-current', start: float = -0.8, end: float = 0.8, num: int = 21, diffractometer: Diffractometer = 'diffractometer') Generator[Msg, Any, P][source]#

Centre rasor alpha using Rasor dector.

sm_bluesky.beamlines.i10.plans.centre_tth(det: StandardReadable = 'rasor_femto_pa_scaler_det', det_name: str = '-current', start: float = -1, end: float = 1, num: int = 21, diffractometer: Diffractometer = 'diffractometer') Generator[Msg, Any, P][source]#

Centre two theta using Rasor dector.

sm_bluesky.beamlines.i10.plans.centre_det_angles(det: StandardReadable = 'rasor_femto_pa_scaler_det', det_name: str = '-current', diffractometer: Diffractometer = 'diffractometer') Generator[Msg, Any, P][source]#

Centre both two theta and alpha angle on Rasor

sm_bluesky.beamlines.i10.plans.move_pin_origin(wait: bool = True, group: Hashable | None = None, sample_stage: XYZStage = 'sample_stage') Generator[Msg, Any, P][source]#

Move the point to the centre of rotation.