From 4a15b31b0482eb86da2b6b9329b02c33595ca199 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 24 Jan 2022 11:09:36 +0100 Subject: [PATCH] updated help in Detector API and python --- python/slsdet/detector.py | 4 ++-- slsDetectorSoftware/include/sls/Detector.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/slsdet/detector.py b/python/slsdet/detector.py index 3cb1d11ed..7b1652f2f 100755 --- a/python/slsdet/detector.py +++ b/python/slsdet/detector.py @@ -3019,7 +3019,7 @@ class Detector(CppDetectorApi): @property @element def patsetbit(self): - """[Ctb][Moench][Mythen3] Selects the bits that will have a pattern mask applied to the selected patmask for every pattern. + """[Ctb][Moench][Mythen3] Sets the mask applied to every pattern to the selected bits. Example -------- @@ -3036,7 +3036,7 @@ class Detector(CppDetectorApi): @property @element def patmask(self): - """[Ctb][Moench][Mythen3] Sets the mask applied to every pattern to the selected bits. + """[Ctb][Moench][Mythen3] Selects the bits that will have a pattern mask applied to the selected patmask for every pattern. Example -------- diff --git a/slsDetectorSoftware/include/sls/Detector.h b/slsDetectorSoftware/include/sls/Detector.h index 8096b3cbc..5de20a3eb 100644 --- a/slsDetectorSoftware/include/sls/Detector.h +++ b/slsDetectorSoftware/include/sls/Detector.h @@ -1667,15 +1667,15 @@ class Detector { /** [CTB][Moench][Mythen3] */ Result getPatternMask(Positions pos = {}); - /** [CTB][Moench][Mythen3] Sets the mask applied to every pattern to the - * selected bits */ + /** [CTB][Moench][Mythen3] Selects the bits that will have a pattern mask + * applied to the selected patmask for every pattern. */ void setPatternMask(uint64_t mask, Positions pos = {}); /** [CTB][Moench][Mythen3] */ Result getPatternBitMask(Positions pos = {}) const; - /** [CTB][Moench][Mythen3] Selects the bits that will have a pattern mask - * applied to the selected patmask for every pattern. */ + /** [CTB][Moench][Mythen3] Sets the mask applied to every pattern to the + * selected bits */ void setPatternBitMask(uint64_t mask, Positions pos = {}); /** [Mythen3] */