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 | None = None) Generator[Msg, Any, P][source]#

Align the down stream detector slit

sm_bluesky.beamlines.i10.plans.align_dsu(size: float, det: StandardReadable | None = None) 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) 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) 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) 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) (group) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

sm_bluesky.beamlines.i10.plans.clear_beam_path(wait: bool = True, group: Hashable | None = None) 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) (group) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

sm_bluesky.beamlines.i10.plans.open_dsd_dsu(open_position: float = 3, wait: bool = True, group: Hashable | None = None) 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) (group) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

sm_bluesky.beamlines.i10.plans.open_s5s6(size: float = 10, wait: bool = True, group: Hashable | None = None) 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) (group) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

sm_bluesky.beamlines.i10.plans.remove_pin_hole(open_position: float = 69, wait: bool = True, group: Hashable | None = None) 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) (group) – If given this will be the group name that pass along to bluesky, which can be use at a later time.

sm_bluesky.beamlines.i10.plans.centre_alpha(det: ~ophyd_async.core._readable.StandardReadable = <dodal.devices.current_amplifiers.current_amplifier_detector.CurrentAmpDet object>, det_name: str = '-current', start: float = -0.8, end: float = 0.8, num: int = 21) Generator[Msg, Any, P][source]#

Centre rasor alpha using Rasor dector.

sm_bluesky.beamlines.i10.plans.centre_tth(det: ~ophyd_async.core._readable.StandardReadable = <dodal.devices.current_amplifiers.current_amplifier_detector.CurrentAmpDet object>, det_name: str = '-current', start: float = -1, end: float = 1, num: int = 21) Generator[Msg, Any, P][source]#

Centre two theta using Rasor dector.

sm_bluesky.beamlines.i10.plans.centre_det_angles(det: ~ophyd_async.core._readable.StandardReadable = <dodal.devices.current_amplifiers.current_amplifier_detector.CurrentAmpDet object>, det_name: str = '-current') 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) Generator[Msg, Any, P][source]#

Move the point to the centre of rotation.