[SciPy-user] [f2py] hide ?

George Nurser gnurser@googlemail....
Thu Apr 26 09:12:35 CDT 2007

On 26/04/07, fred <fredmfp@gmail.com> wrote:
> fred a écrit :
> >
> > Ok, let's talk about array now ;-)
> >
> > The following sample code fails if I use nvx arg in essai(),
> Re,

The problem is that because nx,ny and ny have become optional keyword
arguments (they will automatically be set by the shape of a), they
have to go /after/ nvx.

Try doing:
print essai.__doc__

in order to get the information of how to call essai.essai

Either do.
1) essai.essai(a,b,kw,nvx)
2) essai.essai(a,b,kw,nvx,nx=nx,ny=ny,nz=nz)
 where a.shape = (nx,ny,nz)

3) essai.essai(a,b,kw,nvx,nx,ny,nz)

HTH. George Nurser.

More information about the SciPy-user mailing list