Hi,

In the description field, you have itemsize which is what you want.

Matthieu

2007/10/14, Yves Revaz <[EMAIL PROTECTED]>:
>
> Dear list,
>
> I'm translating codes from numarray to numpy.
> Unfortunately, I'm unable to find the equivalent of the command
> that give the number of bytes for a given type :
> using numarray I used :
>
> >>> Float32.bytes
> 4
>
> I'm sure there is a solution in numpy,
> but I'm unable to find it.
>
> Thanks,
>
> Yves
>
> --
>                                                 (o o)
> --------------------------------------------oOO--(_)--OOo-------
>   Yves Revaz
>   Lerma Batiment A           Tel : ++ 33 (0) 1 40 51 20 79
>   Observatoire de Paris      Fax : ++ 33 (0) 1 40 51 20 02
>   77 av Denfert-Rochereau    e-mail : [EMAIL PROTECTED]
>   F-75014 Paris              Web : http://www.lunix.ch/revaz/
>   FRANCE
> ----------------------------------------------------------------
>
> _______________________________________________
> Numpy-discussion mailing list
> [email protected]
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to