[SciPy-user] [f2py] hide ?

George Nurser gnurser at googlemail.com
Thu Apr 26 10:12:35 EDT 2007


On 26/04/07, fred <fredmfp at 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,
>

Fred,
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)
or
2) essai.essai(a,b,kw,nvx,nx=nx,ny=ny,nz=nz)
 where a.shape = (nx,ny,nz)

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

HTH. George Nurser.



More information about the SciPy-User mailing list