You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because self.weights can contain 0 values, dividing by the weights could lead to nan values and therefore this median operation should be np.nanmedian() instead.
The text was updated successfully, but these errors were encountered:
kbackground/src/kbackground/kbackground.py
Line 192 in 4a2de61
Because
self.weights
can contain0
values, dividing by the weights could lead to nan values and therefore this median operation should benp.nanmedian()
instead.The text was updated successfully, but these errors were encountered: