I realize this topic is a bit old, but I couldn't help but add
something I forgot to mention earlier...
I mean, once the computations are moved elsewhere numpy is basically a
convenient way to address memory.
That is how I mostly use NumPy, though. Computations I often do in
Fortran 95 or C.
El dj 20 de 08 del 2009 a les 00:37 -0700, en/na Erik Tollerud va
escriure:
NumPy arrays on the GPU memory is an easy task. But then I would have to
write the computation in OpenCL's dialect of C99? But I'd rather program
everything in Python if I could. Details like GPU and OpenCL should be
[this discussion moved here from the SciPy list]
On Thu, Aug 20, 2009 at 9:50 AM, Christopher Hanley chan...@stsci.eduwrote:
Hi,
I'd like to respectfully request that we move any discussion of what
to do with the numpy.char module to the numpy list.
I'm a little concerned about some of the
On Thu, Aug 20, 2009 at 09:18, Ralf Gommersralf.gomm...@googlemail.com wrote:
[this discussion moved here from the SciPy list]
On Thu, Aug 20, 2009 at 9:50 AM, Christopher Hanley chan...@stsci.edu
wrote:
Hi,
I'd like to respectfully request that we move any discussion of what
to do with
--- On Thu, 8/20/09, Christopher Hanley chan...@stsci.edu wrote:
I'd like to respectfully request that we move any
discussion of what
to do with the numpy.char module to the numpy list.
NP, done.
I'm a little concerned about some of the assumptions that
are being
made about the number
Here is what I know about the chararray usage at STScI since first
looking into it this morning.
It is used in PyFITS and within the COS instrument calibration code.
I have not heard back from the other projects yet given most of our
developers are away at this time.
It appears that the
On Thu, Aug 20, 2009 at 10:32 AM, Christopher Hanleychan...@stsci.edu wrote:
Another concern is that we told people coming from numarray to use
this module. It is my opinion that at this point in the numpy release
cycle that an API change needs a very strong justification. Anecdotes
about
when I build numpy from source via:
python setup.py build
sudo python setup.py install
the nosetests fail because of permissions:
In [5]: np.test()
Running unit tests for numpy
NumPy version 1.3.0
NumPy is installed in /usr/local/lib/python2.6/dist-packages/numpy
Python version 2.6.2
On Thu, Aug 20, 2009 at 13:52, Chris Colbertsccolb...@gmail.com wrote:
when I build numpy from source via:
python setup.py build
sudo python setup.py install
the nosetests fail because of permissions:
What permissions do your files have? If they're not readable for
whatever reason, you
On Thu, Aug 20, 2009 at 1:52 PM, Chris Colbertsccolb...@gmail.com wrote:
when I build numpy from source via:
python setup.py build
sudo python setup.py install
the nosetests fail because of permissions:
In [5]: np.test()
Running unit tests for numpy
NumPy version 1.3.0
NumPy is
the issue is that the files are executable. I have no idea why they
are set that way either. This is numpy 1.3.0 built from source.
the default install location for setup.py install is the local
dist-packages. So that's where it is.
On Thu, Aug 20, 2009 at 5:03 PM, Keith
this happens with scipy too...
On Thu, Aug 20, 2009 at 5:06 PM, Chris Colbertsccolb...@gmail.com wrote:
the issue is that the files are executable. I have no idea why they
are set that way either. This is numpy 1.3.0 built from source.
the default install location for setup.py install is the
On Thu, Aug 20, 2009 at 14:06, Chris Colbertsccolb...@gmail.com wrote:
the issue is that the files are executable. I have no idea why they
are set that way either. This is numpy 1.3.0 built from source.
Are you sure that those are exactly the commands that you executed?
You didn't invoke
nope.
I build Atlas, and modified site.cfg to find those libs in /usr/local/lib/atlas/
then i did:
python setup.py build
sudo python setup.py install
that's it.
On Thu, Aug 20, 2009 at 5:09 PM, Robert Kernrobert.k...@gmail.com wrote:
On Thu, Aug 20, 2009 at 14:06, Chris
On Thu, Aug 20, 2009 at 2:06 PM, Chris Colbertsccolb...@gmail.com wrote:
the issue is that the files are executable. I have no idea why they
are set that way either. This is numpy 1.3.0 built from source.
Which sources are you using ? The tarball on sourceforge, from svn, etc... ?
cheers,
I agree with David's comments. In that theme I have removed
scipy.stsci from scipy. Users get it directly from us at STScI via
STSCI_PYTHON. It doesn't have any documentation in the doc system.
It isn't by default in the scipy namespace. And as a recent bug
report indicates they can't
Hi Chris
2009/8/20 Christopher Hanley chan...@stsci.edu:
That should clean some code up. If someday a generic image processing
library is added to scipy we can consider incorporating our modules
back into scipy. Until that time I would rather remove the
redundancy. It also help scipy's
On Aug 20, 2009, at 7:48 PM, Stéfan van der Walt wrote:
Hi Stefan,
We'll be spriting on an Image Processing Scikit this weekend. If you
have any functions you'd like to include, let me know.
Regards
Stéfan
Will the Image Processing Scikit be dedicated to working with a single
image or
Hi Stefan,
Never mind. I just found the Sprint website and read the
description. I'm sorry I hadn't found this sooner. I would have made
plans to stay and help. My apologizes.
Sorry,
Chris
--
Christopher Hanley
Senior Systems Software Engineer
Space Telescope Science Institute
3700
Hi Chris Stefan,
I will be around for most of the weekend (as I believe will Perry).
I'm not sure I'll be able to contribute a lot to coding, but if
there's any stuff you want to co-ordinate between STScI and Stefan's
scikit, let me know if I can help. That's probably about the most
useful thing
On Aug 20, 2009, at 2:04 PM, David Cournapeau wrote:
On Thu, Aug 20, 2009 at 10:32 AM, Christopher
Hanleychan...@stsci.edu wrote:
Another concern is that we told people coming from numarray to use
this module. It is my opinion that at this point in the numpy
release
cycle that an
2009/8/20 Christopher Hanley chan...@stsci.edu:
Will the Image Processing Scikit be dedicated to working with a single
image or stacks of images?
Thanks for the reminder -- I have to add ImageCollection to the set of
features. Fernando started working on something similar in 2006, and
I've
I've been reading the online NumPy tutorial at the following URL:
http://numpy.scipy.org/numpydoc/numpy-10.html
When I try the following example, I get an error message:
In [1]: a=arange(10)
In [2]: a.itemsize()
---
2009/8/20 Dr. Phillip M. Feldman pfeld...@verizon.net:
I've been reading the online NumPy tutorial at the following URL:
http://numpy.scipy.org/numpydoc/numpy-10.html
When I try the following example, I get an error message:
In [1]: a=arange(10)
In [2]: a.itemsize()
This is a mistake,
I have a 1-D array and would like to generate a list of indices for which a
given condition is satisfied. What is the cleanest way to do this?
--
View this message in context:
http://www.nabble.com/how-to-find-array-indices-at-which-a-condition-is-satisfied--tp25072656p25072656.html
Sent from
2009/8/20 Stéfan van der Walt ste...@sun.ac.za:
2009/8/20 Dr. Phillip M. Feldman pfeld...@verizon.net:
I've been reading the online NumPy tutorial at the following URL:
http://numpy.scipy.org/numpydoc/numpy-10.html
When I try the following example, I get an error message:
In [1]:
On Thu, Aug 20, 2009 at 18:00, Dr. Phillip M.
Feldmanpfeld...@verizon.net wrote:
I have a 1-D array and would like to generate a list of indices for which a
given condition is satisfied. What is the cleanest way to do this?
numpy.nonzero(condition)[0]
--
Robert Kern
I have come to believe
2009/8/20 Dr. Phillip M. Feldman pfeld...@verizon.net:
I have a 1-D array and would like to generate a list of indices for which a
given condition is satisfied. What is the cleanest way to do this?
np.where(x 0)
Stéfan
___
NumPy-Discussion mailing
20/08/09 @ 18:00 (-0700), thus spake Dr. Phillip M. Feldman:
I have a 1-D array and would like to generate a list of indices for which a
given condition is satisfied. What is the cleanest way to do this?
you can do something like this:
numpy.arange(len(x))[x 5]
it'll give you the indices of
Thanks for the bug report!
DG
--- On Thu, 8/20/09, Dr. Phillip M. Feldman pfeld...@verizon.net wrote:
From: Dr. Phillip M. Feldman pfeld...@verizon.net
Subject: [Numpy-discussion] itemsize() doesn't work
To: numpy-discussion@scipy.org
Date: Thursday, August 20, 2009, 5:46 PM
I've been
tarball from sourceforge.
On Thu, Aug 20, 2009 at 6:33 PM, David Cournapeaucourn...@gmail.com wrote:
On Thu, Aug 20, 2009 at 2:06 PM, Chris Colbertsccolb...@gmail.com wrote:
the issue is that the files are executable. I have no idea why they
are set that way either. This is numpy 1.3.0 built
Hi, Stefan. Is this editable through the Wiki? I went to the Docstrings page
and searched for numpydoc and tutorial and got no hits.
DG
--- On Thu, 8/20/09, Stéfan van der Walt ste...@sun.ac.za wrote:
From: Stéfan van der Walt ste...@sun.ac.za
Subject: Re: [Numpy-discussion] itemsize()
On Thu, Aug 20, 2009 at 1:32 PM, Christopher Hanley chan...@stsci.eduwrote:
Also, I do not know how many people use this particular feature.
However I would point out that many people who use numpy are not also
on the mailing lists. Most of the STScI do not follow the numpy
list. I serve as
33 matches
Mail list logo