Hi Dag
On Tue, Apr 1, 2008 at 12:52 AM, Dag Sverre Seljebotn
[EMAIL PROTECTED] wrote:
I am going to apply for a Google Summer of Code project about Developing
Cython towards better NumPy integration (Cython: http://cython.org).
Anyone interested in how this is done can have a look at the
Hi Dag
On Tue, Apr 1, 2008 at 12:52 AM, Dag Sverre Seljebotn
[EMAIL PROTECTED] wrote:
I am going to apply for a Google Summer of Code project about Developing
Cython towards better NumPy integration (Cython: http://cython.org).
Anyone interested in how this is done can have a look at the
Thank you for the reply. I in fact did not have the latest PIL binary. It works
beautifully now. Luckily I won't be needing RGBA support soon.
Izak
- Original Message
From: Stéfan van der Walt [EMAIL PROTECTED]
To: Discussion of Numerical Python numpy-discussion@scipy.org
Sent: Monday,
Stéfan wrote:Unfortunately, RGBA images cannot be read this way.
Apparently it does not work with 16bit greyscale tif images either.
For anyone else stumbling upon this thread, there is a work-about to get the
data into a numpy array.
i = Image.open('16bitGreyscaleImage.tif')
a =
Dag Sverre Seljebotn wrote:
http://wiki.cython.org/enhancements/numpy
One more comment about the constructor described on the page above.
I read this a different way now, if what you meant is the parameters to
ndarray in
cdef
http://wiki.cython.org/enhancements/numpy
One more comment about the constructor described on the page above.
It would be good if we could have the same syntax as the current
numpy.ndarray, and then simply call through to the underlying C
constructor. We'd also need
Hi,
The planet is no longer accessible. Anyone has the same issue ?
Matthieu
2008/1/1, Jarrod Millman [EMAIL PROTECTED]:
Hey,
I just wanted to announce that we now have a NumPy/SciPy blog
aggregator thanks to Gaël Varoquaux: http://planet.scipy.org/
Feel free to contact me if you have a
Hi,
I cannot access the numpy, scipy, or astropy repositories at scipy.org.
The servers appear to be down.
[redcedar:~/dev/scipy] chanley% svn update
svn: PROPFIND request failed on '/svn/scipy/trunk'
svn: PROPFIND of '/svn/scipy/trunk': could not connect to server
(http://svn.scipy.org)
On Tue, Apr 01, 2008 at 02:29:13PM +0200, Matthieu Brucher wrote:
The planet is no longer accessible. Anyone has the same issue ?
Yes, the scipy.org server is down. I think we need to wait for the US to
wake up to take care of this.
Ga�l
___
Fixed now...many apologies for the outage.
Travis
On Apr 1, 2008, at 8:19 AM, Gael Varoquaux wrote:
On Tue, Apr 01, 2008 at 02:29:13PM +0200, Matthieu Brucher wrote:
The planet is no longer accessible. Anyone has the same issue ?
Yes, the scipy.org server is down. I think we need to wait
Hi Pierre,
Im ccing Bob on this, he's the main developper for cdms2 package. At
this point I think Travis original suggestion was the best. We should
leave it like it was for 1.0.5 There's a lot of changes to do in order
to get the backward compatibility going. And I feel it should wait until
hi
i came across some code for eigenface construction from some
images ,using the old Numeric .
http://www.owlnet.rice.edu/~elec301/Projects99/faces/code.html
In the eigenlib.py
http://www.owlnet.rice.edu/~elec301/Projects99/faces/code/eigenlib.py
i converted the calls to Numeric functions to
On Mon, Mar 31, 2008 at 11:06 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 4:17 PM, Amit Itagi [EMAIL PROTECTED] wrote:
Hi,
I am having problems with numpy installation.
1) These is an atlas 3.8.0 library installed somewhere in the search
path.
However, the
but the notation evectors[:3] will give me an ndarray of shape(3,6)
Am i missing something here?
Yes : evectors[:3] selects the first three lines, evectors[:,3] selects the
fourth column.
Matthieu
--
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs :
Yes : evectors[:3] selects the first three lines, evectors[:,3] selects the
fourth column.
arggg!!
my mistake!
sorry Lorenzo
thanks Matthieu
gordon
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
The normalized eigenvector corresponding to the eigenvalue w[i]
is the column v[:,i].
so, yes, the eigvec coresponding to the eigval w[i] is v[:,i].
Lorenzo
sorry i don't understand
from the above sample(unordered)
if i select the the 4th eigenvalue i get 1.7
evals[3]=1.7
i believe the
Charles Doutriaux wrote:
Hi Pierre,
Im ccing Bob on this, he's the main developper for cdms2 package.
I've uploaded the original ma.py file back into oldnumeric so that
oldnumeric.ma should continue to work as before. Can you verify this?
Thanks,
-Travis O.
All,
Because numpy.ma.MaskedArray objects are now derived from classical ndarrays,
the subclassing rules should be followed. As we observed yesterday with
Charles, the adaptation is not as straightforward as we hoped.
If you have time constraints, the easiest would indeed be to revert to the
Hi Travis,
I get this:
import numpy, numpy.oldnumeric.ma as MA, numpy.oldnumeric as
Numeric, PropertiedClasses
File
/lgm/cdat/latest/lib/python2.5/site-packages/numpy/oldnumeric/ma.py,
line 2204, in module
array.mean = _m(average)
NameError: name 'average' is not defined
C.
Travis
Hi all,
is there a particular reason why dot() and tensordot() don't have output
arguments?
Andreas
signature.asc
Description: This is a digitally signed message part.
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
On Tue, Apr 1, 2008 at 8:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I figured how to specify a particular installation of the libraries. I want
to do the opposite. How do I specify the following in site.cfg - Don't
search for the library. Assume that it is absent and use the default slower
On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I am installing this on a CENTOS linux platform (64 bit AMD opteron). The
path to my python directory is /home/amit/packages/Python-2.5.2 . If I
temporarily make the atlas library unavailable (by renaming the directory to
Charles Doutriaux wrote:
Hi Travis,
I get this:
import numpy, numpy.oldnumeric.ma as MA, numpy.oldnumeric as
Numeric, PropertiedClasses
File
/lgm/cdat/latest/lib/python2.5/site-packages/numpy/oldnumeric/ma.py,
line 2204, in module
array.mean = _m(average)
NameError: name
On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 11:06 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 4:17 PM, Amit Itagi [EMAIL PROTECTED] wrote:
Hi,
I am having problems with numpy installation.
1) These is an
Hi Travis,
Ok we're almost there, in my test suite i get:
maresult = numpy.core.ma.take(ta, indices, axis=axis)
AttributeError: 'module' object has no attribute 'ma'
data = numpy.core.ma.take(ax[:], indices)
AttributeError: 'module' object has no attribute 'ma'
I don't know if it was
On Tue, Apr 1, 2008 at 12:43 PM, David Cournapeau [EMAIL PROTECTED]
wrote:
On Tue, Apr 1, 2008 at 8:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I figured how to specify a particular installation of the libraries. I
want
to do the opposite. How do I specify the following in site.cfg - Don't
On Tue, Apr 1, 2008 at 12:43 PM, David Cournapeau [EMAIL PROTECTED]
wrote:
On Tue, Apr 1, 2008 at 8:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I figured how to specify a particular installation of the libraries. I
want
to do the opposite. How do I specify the following in site.cfg - Don't
On Tue, Apr 1, 2008 at 1:31 PM, Amit Itagi [EMAIL PROTECTED] wrote:
On Tue, Apr 1, 2008 at 1:21 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I am installing this on a CENTOS linux platform (64 bit AMD opteron).
The
path
Hi Dag
On Tue, Apr 1, 2008 at 11:06 AM, Dag Sverre Seljebotn
[EMAIL PROTECTED] wrote:
One more comment about the constructor described on the page above.
It would be good if we could have the same syntax as the current
numpy.ndarray, and then simply call through to the underlying C
I can foresee certain situations under which we can predict the type
of the result of operations like this one. Would it be possible to
then handle 'y' as an ndarray as well, instead of reverting to Python
object calls?
Indeed - plans are underway to add automatic type inference to
On Tue, Apr 01, 2008 at 10:48:30PM +0200, Dag Sverre Seljebotn wrote:
though we might add a different syntax for type declaration (using
decorators) so that the same code can also be run using the Python
interpreter.)
That would be very neat. I can see how you can get around dynamical
typing
Robert,
I followed the recommended steps. Now I have numpy and
numpy-1.0.4-py2.5.egg-info in
Python-2.5.2/lib/python2.5/site-packages. However, I am not able to import
numpy at the python prompt. Do I have to set pythonpath or something ?
Thanks
Rgds,
Amit
On Tue, Apr 1, 2008 at 2:44 PM,
On Tue, Apr 1, 2008 at 4:03 PM, Amit Itagi [EMAIL PROTECTED] wrote:
Robert,
I followed the recommended steps. Now I have numpy and
numpy-1.0.4-py2.5.egg-info in
Python-2.5.2/lib/python2.5/site-packages. However, I am not able to import
numpy at the python prompt. Do I have to set pythonpath
On Tue, Apr 1, 2008 at 4:21 PM, Amit Itagi [EMAIL PROTECTED] wrote:
This directory is just the Python source distribution (post configure and
make). I don't have root permissions to our cluster and the default python
distribution is an older one. Hence, I have my custom Python distribution in
Charles Doutriaux wrote:
Hi Travis,
Ok we're almost there, in my test suite i get:
maresult = numpy.core.ma.take(ta, indices, axis=axis)
AttributeError: 'module' object has no attribute 'ma'
data = numpy.core.ma.take(ax[:], indices)
AttributeError: 'module' object has no attribute
On Tue, Apr 1, 2008 at 11:56 AM, Andreas Klöckner
[EMAIL PROTECTED] wrote:
Hi all,
is there a particular reason why dot() and tensordot() don't have output
arguments?
No technical reason. It just hasn't been done. If you were to
implement it, we would be happy to accept it.
--
Robert Kern
i am slightly confused by this maths
i need to calculate
wk=uk o (L-Psi)
where
uk=a vector of size (1 X N^2)
o =scalar product
l,Psi=vectors of (N^2 X 1)
i have an ndarray U of shape(M X N^2)where uk is one of the rows , and
L of shape (M X N^2) where l.transpose() is one of the rows,
If i were
On Tue, 1 Apr 2008, harryos apparently wrote:
i need to calculate
wk=uk o (L-Psi)
where
uk=a vector of size (1 X N^2)
o =scalar product
l,Psi=vectors of (N^2 X 1)
i have an ndarray U of shape(M X N^2)where uk is one of the rows , and
L of shape (M X N^2) where l.transpose() is one of
38 matches
Mail list logo