Skip to content

Commit

Permalink
Update beam center positions
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Nov 14, 2024
1 parent 280ec81 commit 3046a1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from mx_bluesky.beamlines.i24.serial.setup_beamline.ca import caget, caput

BEAM_CENTER_POS: dict[str, list] = {
"eiger": [1605.7, 1702.7],
"pilatus": [1298, 1307],
"eiger": [1600.0, 1697.4],
"pilatus": [1284.7, 1308.6],
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ async def test_move_detector_stage_to_position_plan(detector_stage: DetectorMoti
async def test_set_detector_beam_center_plan(eiger_beam_center: DetectorBeamCenter, RE):
RE(setup_beamline.set_detector_beam_center_plan(eiger_beam_center, "eiger"))

assert await eiger_beam_center.beam_x.get_value() == 1605.7
assert await eiger_beam_center.beam_y.get_value() == 1702.7
assert await eiger_beam_center.beam_x.get_value() == 1600.0
assert await eiger_beam_center.beam_y.get_value() == 1697.4


@patch("mx_bluesky.beamlines.i24.serial.setup_beamline.setup_beamline.caput")
Expand Down

0 comments on commit 3046a1d

Please sign in to comment.