diff --git a/python/slsdet/detector.py b/python/slsdet/detector.py index 54b7b77e8..d75291382 100755 --- a/python/slsdet/detector.py +++ b/python/slsdet/detector.py @@ -2239,7 +2239,9 @@ class Detector(CppDetectorApi): @property @element def filterresistor(self): - """[Gotthard2][Jungfrau] Set filter resistor. + """ + [Gotthard2][Jungfrau] Set filter resistor. Increasing values for increasing " + "resistance. Note ---- [Gotthard2] Default is 0. Options: 0-3. diff --git a/slsDetectorSoftware/include/sls/Detector.h b/slsDetectorSoftware/include/sls/Detector.h index 085a213e3..5401b4233 100644 --- a/slsDetectorSoftware/include/sls/Detector.h +++ b/slsDetectorSoftware/include/sls/Detector.h @@ -483,8 +483,9 @@ class Detector { /** [Gotthard2][Jungfrau] */ Result getFilterResistor(Positions pos = {}) const; - /** [Gotthard2] Options: 0-3. Default: 0 - * [Jungfrau] 0-1. Default: 1 */ + /** [Gotthard2][Jungfrau] Set filter resistor. Increasing values for + * increasing resistance.\n[Gotthard2] Options: [0|1|2|3]. Default is + * 0.\n[Jungfrau] Options: [0|1]. Default is 1.*/ void setFilterResistor(int value, Positions pos = {}); ///@{ diff --git a/slsDetectorSoftware/src/CmdProxy.h b/slsDetectorSoftware/src/CmdProxy.h index 05370ab80..0bde34e55 100644 --- a/slsDetectorSoftware/src/CmdProxy.h +++ b/slsDetectorSoftware/src/CmdProxy.h @@ -1350,8 +1350,9 @@ class CmdProxy { INTEGER_COMMAND_VEC_ID( filterresistor, getFilterResistor, setFilterResistor, StringTo, - "[0|1|2|3] [Gotthard2] Set filter resistor. Default is 0.\n[0|1] " - "[Jungfrau] Set filter resistor. Default is 1."); + "[value] [Gotthard2][Jungfrau] Set filter resistor. Increasing values " + "for increasing resistance.\n\t[Gotthard2] Options: [0|1|2|3]. Default " + "is 0.\n\t[Jungfrau] Options: [0|1]. Default is 1."); /** temperature */ GET_COMMAND_NOID(