-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I24 serial: Add some detector specific params in parameter model and …
…beam center calculation (#708) * Add lut file locations * Start adding an example of detector params in model * Trying to differentiate between detectors * Some comments * Move pilatus params to dodal * Tidy up the parameters * pin dodal * Fix linting * Save some old changes * Fix tests * Maybe if I add the file * Pin dodal * Fix test * Try a dumb fix * Remove casting * Try something dumb again * An untidy new try * Remove mock * Tidy up * New calculation for beam center * Add docstring * Rething the beam center calculation and remove messy DetectorParams * Also fix the dcm code broken by dodal branch * Fix the tests * Fix test in CI * And two others * Update dodal pin
- Loading branch information
1 parent
b4f7195
commit 1d79b9f
Showing
17 changed files
with
244 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 13 additions & 5 deletions
18
src/mx_bluesky/beamlines/i24/serial/parameters/constants.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/test_data/test_daq_configuration/lookup/test_det_dist_converter.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#Table giving position of beam X and Y as a function of detector distance | ||
#Units mm mm mm | ||
# Eiger values | ||
# distance beamY beamX (values from mosflm) | ||
Units mm mm mm | ||
200 119.78 127.0 | ||
1500 119.4 126.9 |
Oops, something went wrong.