This commit is contained in:
maliakal_d 2021-08-05 10:08:41 +02:00
parent cd396a1f11
commit acd12bf2fa
3 changed files with 5 additions and 4 deletions

View File

@ -2202,7 +2202,7 @@ class Detector(CppDetectorApi):
Note
-----
[Jungfrau] DYNAMIC_GAIN_MODE, FORCE_SWITCH_G1, FORCE_SWITCH_G2, FIX_G1, FIX_G2, FIX_G0 \n
CAUTION: Do not use FIX_G0 blindly, you can damage the detector!!!
CAUTION: Do not use FIX_G0 without caution, you can damage the detector!!!
"""
return element_if_equal(self.getGainMode())

View File

@ -1180,8 +1180,8 @@ class Detector {
Result<defs::gainMode> getGainMode(Positions pos = {}) const;
/** [Jungfrau] Options: DYNAMIC_GAIN_MODE, FORCE_SWITCH_G1, FORCE_SWITCH_G2,
* FIX_G1, FIX_G2, FIX_G0 \n\CAUTION: Do not use FIX_G0 blindly, you can
* damage the detector!!!\n
* FIX_G1, FIX_G2, FIX_G0 \n\CAUTION: Do not use FIX_G0 without caution, you
* can damage the detector!!!\n
*/
void setGainMode(const defs::gainMode mode, Positions pos = {});

View File

@ -1878,7 +1878,8 @@ class CmdProxy {
gainmode, getGainMode, setGainMode,
sls::StringTo<slsDetectorDefs::gainMode>,
"[dynamicgain|forceswitchg1|forceswitchg2|fixg1|fixg2|fixg0]\n\t["
"Jungfrau] Gain mode.\n\tCAUTION: Do not use fixg0 blindly, you can "
"Jungfrau] Gain mode.\n\tCAUTION: Do not use fixg0 without caution, "
"you can "
"damage the detector!!!");
/* Gotthard Specific */