Fixed pixel binning factor calculation.
Line 92 to Line 93:
TypeError: No loop matching the specified signature and casting was found for ufunc true_divide
The problem is that we can't divided using /= on an Numpy-array.
The proposed fix is to replace the division by //=:
Y //= factor
X //= factor
Fixed pixel binning factor calculation. Line 92 to Line 93: TypeError: No loop matching the specified signature and casting was found for ufunc true_divide The problem is that we can't divided using /= on an Numpy-array. The proposed fix is to replace the division by //=: Y //= factor X //= factor