From 1536740557adbf979d4f2982ec2ded7ecdc68896 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Wed, 1 Nov 2023 14:41:01 +0100
Subject: [PATCH] docstring for replace_pixels_wrong_gain_badpixel

---
 src/cal_tools/jungfraulib.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cal_tools/jungfraulib.py b/src/cal_tools/jungfraulib.py
index 4171b228e..c8f15c246 100644
--- a/src/cal_tools/jungfraulib.py
+++ b/src/cal_tools/jungfraulib.py
@@ -217,7 +217,8 @@ def replace_pixels_wrong_gain_badpixel(
     badpixel_map,
     memory_cells,
 ):
-    """_summary_
+    """Replace the gain value with the given new gain value for pixels
+    indicated as bad with WRONG_GAIN_VALUE bit.
 
     Args:
         gain_arr (ndarray): The raw gain array to be updated.
-- 
GitLab