[Jungfrau] New condition exposure timout
Description
This is a draft for now as it is rebased on the under-review MR for injecting dark CCVs
This addresses new condition for Jungfrau Exposure Timout
How Has This Been Tested?
- Reference runs
Relevant Documents (optional)
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
Reviewers
Merge request reports
Activity
assigned to @ahmedk
added Test CAL Data Affected Testing labels
added 1 commit
- 17900631 - fix: update calcat_interface and test and make sure new condition is still backward compatabile
1035 1037 if int(cond.get("Gain mode", -1)) == 0: 1036 1038 del cond["Gain mode"] 1037 1039 1040 # Fix-up some database quirks. 1041 if int(cond.get("Exposure timer", -1)) == 0: Brilliant. I actually thought it to be timeout initially, but double checked Marcin's email and it clearly stated "Timer". I only checked the property exists, not it's reconfigurable...
@ahmedk Sorry for that, but better we figure this out now than later.
changed this line in version 8 of the diff
To confirm. I have set the exposure timeout default value to 25. It is the same as we did with AGIPD integration time 12. To be backward compatible with previous data.
Edited by Karim Ahmed
added 55 commits
-
5d8c2a82...1b2a1192 - 47 commits from branch
feat/remove_calibrationDBRemote_usage
- 11de28b3 - fix: small fixes after testing part of injecting ccvs
- 0001ae79 - fix: handle CCVAlreadyInject case using a warning
- cd3a8ae2 - fix: Add a partial convenient CCVAlreadyInjectedError for now in this implementation
- fe25c2b6 - feat: second round of resolving discussions
- 2d924bd8 - draft: adding new exposure_timer for jungfrau correct/dark notebooks
- 097022a0 - feat: update name and datasource to check before testing
- e1a1024d - fix: update calcat_interface and test and make sure new condition is still backward compatabile
- e2fcce03 - fix: update test_calcat_interface
Toggle commit list-
5d8c2a82...1b2a1192 - 47 commits from branch
added 1 commit
- cd96c8ab - fix: remove redundant extra_calibration_client
changed milestone to %3.15.2
added 40 commits
-
cd96c8ab...9012640a - 30 commits from branch
master
- c2e75a3f - fix: small fixes after testing part of injecting ccvs
- e033ccc3 - fix: handle CCVAlreadyInject case using a warning
- ebdfae5a - fix: Add a partial convenient CCVAlreadyInjectedError for now in this implementation
- 8c9c5186 - feat: second round of resolving discussions
- 93958cf9 - draft: adding new exposure_timer for jungfrau correct/dark notebooks
- 3afea677 - feat: update name and datasource to check before testing
- 3f2ce112 - fix: update calcat_interface and test and make sure new condition is still backward compatabile
- ca62ac47 - fix: update test_calcat_interface
- 3c939a57 - fix: remove redundant extra_calibration_client
- 962a490f - Exxposure timeout instead of Exposure timer
Toggle commit list-
cd96c8ab...9012640a - 30 commits from branch
marked this merge request as draft from 93958cf9
added 1 commit
- 873ff5ae - have 25 as default exposure timeout for bacward compatibility
Just to confirm again from @mramilli , the property to introduce as a new parameter is:
exposureTimeout
- default value: 25 ns (which is not injected)
1044 1046 if int(cond.get("Gain mode", -1)) == 0: 1045 1047 del cond["Gain mode"] 1046 1048 1049 # Fix-up some database quirks. 1050 if int(cond.get("Exposure timeout", -1)) == 25: I was about to comment on this for not triggering when it's missing... until I realized naturally you'd not want to remove it in this case. As it happens, this is actually a bug in !1089 (merged)!
mentioned in commit 70533b02
mentioned in merge request !1096 (merged)