Re: [Numpy-discussion] Using logical function on more than 2 arrays, availability of a "between" function ?

2012-03-20 Thread Matthieu Rigal
e too: > array = (aBlueChannel < 1.0) * (aNirChannel > (aBlueChannel * 1.0)) * > (aNirChannel < (aBlueChannel * 1.8)) > > But this one is only 5-10% faster than the original solution, even if > probably using less memory than the 2 previous ones. (same was possible >

Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 66, Issue 61

2012-03-20 Thread Matthieu Rigal
(same was possible with operator +, but slower than operator *) Regards, Matthieu Rigal On Monday 19 March 2012 18:00:02 numpy-discussion-requ...@scipy.org wrote: > Message: 2 > Date: Mon, 19 Mar 2012 13:20:23 + > From: Richard Hattersley > Subject: Re: [Numpy-discussion] Using log

[Numpy-discussion] Using logical function on more than 2 arrays, availability of a "between" function ?

2012-03-19 Thread Matthieu Rigal
lt; aNirChannel/aBlueChannel < 1.8)) Is there any way to get the things work this way ? Would it else be a possible improvement for 1.7 or a later version ? Best Regards, Matthieu Rigal RapidEye AG Molkenmarkt 30 14776 Brandenburg an der Havel Germany Follow us on Twitter! www.twitter.