[Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread dileep kunjaai
Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print lat/100 I know that there is another easy method.. Please give me a replay

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Youngung Jeong
Usenp.arange(-60, 90.0001, 0.25) Youngung Jeong Graduate student Materials Mechanics Laboratory Graduate Institute of Ferrous Technology Pohang University of Science and Technology On Fri, Apr 29, 2011 at 4:26 PM, dileep kunjaai dileepkunj...@gmail.comwrote: Dear sir, I am trying to

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread pratik
On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print lat/100 I know that there is

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread pratik
On Friday 29 April 2011 01:01 PM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25),

[Numpy-discussion] Possible funding opportunity for numpy and scipy development

2011-04-29 Thread Thouis (Ray) Jones
(Posted for a friend) This NSF opportunity just renewed last week and might interest the NumPy/SciPy community: NSF Software Infrastructure for Sustained Innovation (SI2) http://www.nsf.gov/funding/pgm_summ.jsp?pims_id=503489 It sounds like it's not suited for end-user software in a particular

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Christopher Barker
On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread dileep kunjaai
Thank you sir: thank youvery much for ur time and consideration.. On Fri, Apr 29, 2011 at 9:11 PM, Christopher Barker chris.bar...@noaa.govwrote: On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an

Re: [Numpy-discussion] numpy.load truncates read from network file on XP

2011-04-29 Thread Dan Halbert
On Thursday, April 28, 2011 5:22pm, Dan Halbert halb...@halwitz.org said: I'm having trouble loading a large remote .npy file on Windows XP. This is on numpy-1.3.0 on Windows XP SP3: numpy.load(r'\\myserver\mydir\big.npy') will fail with this sort of error being printed: 14328000

[Numpy-discussion] ANN: Spyder v2.0.11

2011-04-29 Thread Pierre Raybaut
Hi all, I am pleased to announced that Spyder v2.0.11 has just been released. As this is mostly a maintenance release, a lot of bugs were fixed and some minor features were added (see below). Embedding an interactive Python console into your GUI-based application (Qt): This version includes an

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Sebastian Haase
On Fri, Apr 29, 2011 at 5:41 PM, Christopher Barker chris.bar...@noaa.gov wrote: On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ...

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Christopher Barker
On 4/29/11 1:27 PM, Sebastian Haase wrote: Just for completeness, note this paragraph from the mgrid docs: However, if the step length is a *complex number* (e.g. 5j), then the integer part of its magnitude is interpreted as specifying the number of points to create between the start and

[Numpy-discussion] Less dimensions than expected with record array

2011-04-29 Thread Alan Gibson
Hello all, This question may seem elementary (mostly because it is), but I can't find documentation anywhere as to why the following are true: import numpy as np data = [(1,2,3),(4,5,6),(7,8,9)] dt = [('a',int),('b',int),('c',int)] normal_array = np.array(data) record_array = np.array(data,

Re: [Numpy-discussion] Less dimensions than expected with record array

2011-04-29 Thread josef . pktd
On Fri, Apr 29, 2011 at 10:56 PM, Alan Gibson dyssid...@gmail.com wrote: Hello all, This question may seem elementary (mostly because it is), but I can't find documentation anywhere as to why the following are true: import numpy as np data = [(1,2,3),(4,5,6),(7,8,9)] dt =