Thanks. I tried again, it works.
On Thu, Dec 27, 2012 at 10:35 PM, Ralf Gommers wrote:
> from numpy.ma import testutils
>
--
***
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 15
On Thu, Dec 27, 2012 at 12:23 AM, Chao YUE wrote:
> Dear all,
>
> I found here
> http://mail.scipy.org/pipermail/numpy-discussion/2009-January/039681.html
> that to use* numpy.ma.testutils.assert_almost_equal* for masked array
> assertion, but I cannot find the np.ma.testutils module?
> Am I gett
Dear all,
I found here
http://mail.scipy.org/pipermail/numpy-discussion/2009-January/039681.html
that to use* numpy.ma.testutils.assert_almost_equal* for masked array
assertion, but I cannot find the np.ma.testutils module?
Am I getting somewhere wrong? my numpy version is 1.6.2 thanks!
Chao
--
On Fri, Jan 16, 2009 at 10:59 AM, Pierre GM wrote:
>
> On Jan 16, 2009, at 10:51 AM, josef.p...@gmail.com wrote:
>
>> I have a regression result with masked arrays that produces a masked
>> array output, estm5.yhat, and I want to test equality to the benchmark
>> case, estm1.yhat, with the asserts
On Jan 16, 2009, at 10:51 AM, josef.p...@gmail.com wrote:
> I have a regression result with masked arrays that produces a masked
> array output, estm5.yhat, and I want to test equality to the benchmark
> case, estm1.yhat, with the asserts in numpy.testing, but I am getting
> strange results.
> .
I have a regression result with masked arrays that produces a masked
array output, estm5.yhat, and I want to test equality to the benchmark
case, estm1.yhat, with the asserts in numpy.testing, but I am getting
strange results.
checking for equality directly returns True, but the asserts in
numpy.t