[Numpy-discussion] dtype

2011-11-28 Thread Mads Ipsen

Hi,

Where can I find a complete and exhaustive description of the dtype 
syntax and arguments. For example, something like


a = arange(4, dtype='=H')

seems hard to extract from the documentation that I can find on the web 
and the numpy docstrings.


Best regards

Mads

--
+-+
| Mads Ipsen  |
+--+--+
| Gåsebæksvej 7, 4. tv |  |
| DK-2500 Valby| phone:  +45-29716388 |
| Denmark  | email:  mads.ip...@gmail.com |
+--+--+


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] dtype

2011-11-28 Thread Paul Anton Letnes
Hi,

I don't know about documentation, but I always use syntax like
zeros(10, dtype=numpy.float64)
where you have dtypes like
numpy.int8
numpy.uint32
numpy.complex128 # == two numpy.float64, one for real, one for imag.
etc. This is usually less confusing to my mind. One caveat: floats above 64 
bits are not always supported and rarely what you think - see another 
discussion on this list a few weeks back.

Cheers
Paul

On 28. nov. 2011, at 09:10, Mads Ipsen wrote:

 Hi,
 
 Where can I find a complete and exhaustive description of the dtype syntax 
 and arguments. For example, something like
 
 a = arange(4, dtype='=H')
 
 seems hard to extract from the documentation that I can find on the web and 
 the numpy docstrings.
 
 Best regards
 
 Mads
 -- 
 +-+
 | Mads Ipsen  |
 +--+--+
 | Gåsebæksvej 7, 4. tv |  |
 | DK-2500 Valby| phone:  +45-29716388 |
 | Denmark  | email:  
 mads.ip...@gmail.com
  |
 +--+--+
 
 
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] scipy.org still says source in some subversion repo -- should be git !?

2011-11-28 Thread Ralf Gommers
On Fri, Nov 25, 2011 at 7:20 PM, Sebastian Haase seb.ha...@gmail.comwrote:

 google search for:  numpy browse source

 points  here:  http://new.scipy.org/download.html

 which talks about:
 svn co http://svn.scipy.org/svn/numpy/trunk numpy


The problem is that new.scipy.org duplicates content from scipy.org, and
is not so new anymore. I suspect that there's more out of date info (like
installation instructions). Is anyone still working on this, or planning to
do so in the near future? If not, it may be better to disable this site
until someone volunteers to spend time on it again.

Ralf


 the link should probably go here:

 https://github.com/numpy/numpy

 as already stated here:
 http://www.scipy.org/Developer_Zone


 HTH,
 Sebastian Haase
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] scipy.org still says source in some subversion repo -- should be git !?

2011-11-28 Thread Matthew Brett
Hi,

On Mon, Nov 28, 2011 at 1:01 PM, Ralf Gommers
ralf.gomm...@googlemail.com wrote:


 On Fri, Nov 25, 2011 at 7:20 PM, Sebastian Haase seb.ha...@gmail.com
 wrote:

 google search for:  numpy browse source

 points  here:  http://new.scipy.org/download.html

 which talks about:
 svn co http://svn.scipy.org/svn/numpy/trunk numpy

 The problem is that new.scipy.org duplicates content from scipy.org, and
 is not so new anymore. I suspect that there's more out of date info (like
 installation instructions). Is anyone still working on this, or planning to
 do so in the near future? If not, it may be better to disable this site
 until someone volunteers to spend time on it again.


Who controls the new.scipy.org site?

Maybe the content could be put in
http://github.com/scipy/scipy.github.com so we can make pull requests
there?

And redirect new.scipy.org to http://scipy.github.com ?

Best,

Matthew
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion