We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e33174 + 0c97f2a commit 16bed29Copy full SHA for 16bed29
1 file changed
src/imcflibs/imagej/misc.py
@@ -115,7 +115,14 @@ def calculate_mean_and_stdv(values_list, round_decimals=0):
115
-------
116
tuple of (float, float)
117
Mean and standard deviation of the input list.
118
+
119
+ Notes
120
+ -----
121
+ Returns (0, 0) when:
122
+ - The input list is empty.
123
+ - After filtering out None values, no elements remain.
124
"""
125
126
filtered_list = [x for x in values_list if x is not None]
127
128
if not filtered_list:
0 commit comments