Re: addendum to 'JyVisAD on Windows'

FYI,

In our FBF code, there is just:

import Numeric

and then the usual kinds of references, for example:

   cook = Numeric.array( struct.unpack( fmt, data ) )
   if (nrex>1):
       ret = Numeric.reshape( cook, (int(nrex),) + inp.gnipuorg )
   else:
       ret = Numeric.reshape( cook, inp.gnipuorg )

tom


On Thu, 20 Jun 2002, Frank
Gibbons wrote:

> I'm sorry, in my last message I should have included the details of the
> error message I'm getting from the Jython Script Editor for JNumeric:
>
> Traceback (innermost last):
>    File "L:\cvs\MassSpec\src\parse.py", line 10, in ?
> ImportError: no module named Numeric
>
>
> The module is called Numeric from within Jython (as in ' from Numeric
> import *'). It's generally called JNumeric in everyday speech, to
> distinguish it from the equivalent module in Python, which is often called
> CNumeric for the same reason. The jar file is called 'Numeric.jar', and is
> located in C:\VisADJython, where graph.py & friends also live.
>
> If it makes a difference, I should mention that drive L is in fact a Samba
> image of a Linux RAID configuration, though I'm running the Script Editor
> from my desktop Windows 2000 machine.
>
> -Frank
>
> PhD, Computational Biologist,
> Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115, USA.
> Tel: 617-432-3555       Fax:
> 617-432-3557       http://llama.med.harvard.edu/~fgibbons
>
>

--
Tom Whittaker
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Telephone/VoiceMail:  608.262.2759