-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
kbackground/src/kbackground/kbackground.py
Line 192 in 4a2de61
| self.model -= np.median(self.model) |
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working