Skip to content
murmot

Results for “python numpy array example problem code 2 site:mail.python.org script”

  • mail.python.org

    [PYTHON MATRIX-SIG] Re: Mandelbrot: another nice useless ...

    > TS> the Python interpreter crahes!!! After the 4th call of print > TS> draw, the third cal is still ok. > > Hm, I just tried it on my ALPHA, and there it crashes already on the > second call. Looks like a jump/call to a weird address: This problem doesn't show up under my NT, Solaris or sunos versions of alpha3.

  • mail.python.org

    [Numpy-discussion] f2py with allocatable arrays

    [Numpy-discussion] f2py with allocatable arrays. Sturla Molden sturla at molden.no Tue Jul 3 20:23:37 EDT 2012.The Fortran 90/95 Explained book mentions this in the > allocatable dummy arguments section and has an example using an array > with allocatable, intent(out) in a subrountine.

  • mail.python.org

    [AstroPy] Data Analysis and Programming in Python

    Next message (by thread): [AstroPy] Coding in Python to Read/Write a fits file.All you would need to do would be define the functions you need to interpret the image formats from your hardware into numpy arrays, and plug it into this example to write it out as a FITS file.

  • mail.python.org

    [Matrix-SIG] Reading binary data from file into NumPy arrays ...

    Jun 18, 1998 · Hello all, I needed a relatively low-level method to load arbitrary binary data files into NumPy arrays, so I wrote C-extension code to do it after learning a little about the NumPy API through the source code. I've called the module numpyio and it allows reading and writing aribrary data-types to an open file stream.

  • mail.python.org

    [Numpy-discussion] NEP: array API standard adoption (NEP 47)

    The array object ~~~~~~~~~~~~~~~~ Regarding the array object implementation, we plan to start with a regular Python class that wraps a ``numpy.ndarray`` instance. Attributes and methods can forward to that wrapped instance, applying input validation and implementing changed behaviour as needed.

  • mail.python.org

    [PYTHON MATRIX-SIG] Array -> String: array length

    May 8, 1997 · Jean-Bernard ADDOR writes: > > I am very happy to hear about the length of the numpy arrays other users > uses because I uses these day pow (2,22) = len (array) = 4194304 and I > seriously ask me questions about python memory managment. My program uses > hundreds Megs of RAM.