Closed gillins closed 7 years ago
Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).
Hi Xavier,
Thanks for this, that looks like bad type usage from me in the original code. Sorry for that. I have just played with the ^ operator, and I agree, it seems to be what we want there. I will change this code as you suggested. Thanks, Sam, for also checking on this. It is very good to see that numpy are always improving their type checks.
Neil
Original comment by Jiang Liang (Bitbucket: hugeneuron, GitHub: hugeneuron).
I have a question about the logical_xor operation. the result of logical_xor operation for np.logical_xor([1,1,0,0],[1,0,1,0]) is array([False, True, True, False]) but I'm expecting np.subtract([1,1,0,0],[1,0,1,0]) to give me array([False, True, False, False]) what kind of function should I use?
Original report by Xavier Corredor Llano (Bitbucket: XavierCLL, GitHub: XavierCLL).
Hi,
In some cases of run, the python-fmask stop with TypeError:
I checked the variables nullmaskDilated and nullmask and both are boolean matrix with True values. I don't know exactly what append and how fix that
Regards