Hi Matt
On Tue, Jan 22, 2008 at 10:37:29PM -0500, Matt Knox wrote:
I noticed that the new masked array module resides in numpy/ma in the
maskedarray branch as opposed to numpy/core/ma like it does in the current
trunk. Was this intentional? Code that explicitly imports ma from the core
On Jan 23, 2008 12:32 PM, David Cournapeau [EMAIL PROTECTED] wrote:
The current config.h works fine for solaris with Sun compilers, in my
experience, so the problem must be somewhere else.
I've just tried numpy SVN with sun compiler (Sun studio 12) on
Indiana, and it works fine, so there is
On Jan 23, 2008 2:48 AM, Stefan van der Walt [EMAIL PROTECTED] wrote:
Hi Gary
On Tue, Jan 22, 2008 at 11:18:01AM -0500, Gary Pajer wrote:
Occasionally I find myself poking into docstrings and googling
randomly trying to find the proper way to specify a data type, or
trying to remind
Hi all,
The numpy documentation standard example shows:
Parameters
--
var1 : array_like
Array_like means all those objects -- lists, nested lists, etc. --
that can be converted to an array.
var2 : integer
Write out the full type
Hi,
I've just released the 0.3.0 release of numscons, an alternative
build system for numpy. The tarballs are available on launchpad.
https://launchpad.net/numpy.scons.support/0.3/0.3.0
To use it, you need to get the build_with_scons numpy branch: see
On Jan 23, 2008 6:55 AM, Stefan van der Walt [EMAIL PROTECTED] wrote:
Hi all,
The numpy documentation standard example shows:
Parameters
--
var1 : array_like
Array_like means all those objects -- lists, nested lists, etc. --
that can be converted to an
Greetings: I just noticed a changed behavior of numpy.histogram. I
think that a recent 'fix' to the code has changed my ability to use that
function (albeit in an unconventional manner). I previously used the
histogram function to obtain counts of each unique string within a
string array.
Hi --
Greetings: I just noticed a changed behavior of numpy.histogram. I
think that a recent 'fix' to the code has changed my ability to use that
function (albeit in an unconventional manner).
You can blame me for this. I submitted a patch which prohibited the
user from entering any range
Hi again --
You made me feel guilty about breaking your code. Here's some
suggested substitute code :
In [10]: import numpy
In [11]: a = numpy.array(('atcg', '', 'atcg', 'actg', ''))
In [12]: b = numpy.sort(a)
In [13]: c = numpy.unique(b)
In [14]: d = numpy.searchsorted(b, c)
In
Nah...no worries Stuart. Again, I recognize that what I was doing
deviated from the likely true intent of the histogram function. But it
was a nice convenient bit of code, for sure.
I'll take a look at your suggestion...it's different than what I
previously used. So, thanks for the input.
David Cournapeau wrote:
The current config.h works fine for solaris with Sun compilers, in my
experience, so the problem must be somewhere else.
Peter, could you post the errors you got ? As an alternative, I am
working on an alternative build system for numpy: it should work on
solaris
Fernando Perez wrote:
Just a quick reminder for all about the upcoming Sage/Scipy Days 8 at
Enthought collaborative meeting:
http://wiki.sagemath.org/days8
This page says February 29 until March 4, *2007*.
--
Sincerely,
Chris Calloway
http://www.seacoos.org
office: 332 Chapman Hall
Travis E. Oliphant schrieb:
Thomas Heller wrote:
Travis E. Oliphant schrieb:
Thomas Heller wrote:
I am experimenting with implementing __array_interface__ and/or
__array_struct__
properties for ctypes instances, and have problems to create numpy arrays
from them that share the
Pierre,
numpy.compress exists, but numpy.ma.compress does not; is this intentional?
Eric
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On Wed, Jan 23, 2008 at 11:17:51AM -1000, Eric Firing wrote:
Pierre,
numpy.compress exists, but numpy.ma.compress does not; is this
intentional?
Looks like x.compress exists, but it doesn't work as expected:
x = N.ma.array([1,2,3],mask=[True,False,Fals])
x.compress(x2)
throws
ValueError:
Hi Eric,
On Wed, Jan 23, 2008 at 11:17:51AM -1000, Eric Firing wrote:
Pierre,
numpy.compress exists, but numpy.ma.compress does not; is this
intentional?
Thanks for the report. I added a simple implementation to SVN for the
time being.
Regards
Stéfan
Pierre GM wrote:
On Wednesday 23 January 2008 16:17:51 you wrote:
Pierre,
numpy.compress exists, but numpy.ma.compress does not; is this intentional?
Probably not. I usually don't use this function, preferring to use indexing
instead. If you have a need for it, I can probably come up with
thanks.
On Jan 22, 2008 10:04 PM, Jarrod Millman [EMAIL PROTECTED] wrote:
On Jan 18, 2008 11:17 PM, Barry Wark [EMAIL PROTECTED] wrote:
I promise: last change. I changed the URL to
http://physionconsulting.blogspot.com/search/label/scipy. My wife said
physion consultants is a crappy name.
On Wednesday 23 January 2008 17:05:25 Stefan van der Walt wrote:
On Wed, Jan 23, 2008 at 11:17:51AM -1000, Eric Firing wrote:
Pierre,
numpy.compress exists, but numpy.ma.compress does not; is this
intentional?
Looks like x.compress exists, but it doesn't work as expected:
x =
Hi,
numpy.where() returns different things on my windowsXP machine than on my
collaborator's mac osx machine.
For example, consider:
import numpy
a = numpy.array([1,2,3,4])
b = numpy.where( a 2 )
On WindowsXP (python 2.4.2, numpy 1.0.1), I get:
print b
(array([2, 3]), )
print
Robert,
Thanks for solving that puzzle! I'll get our group on the same 1.0.x
numpy release.
Take care,
James
**
Harvard University
Dept. of Astronomy
60 Garden Street
MS-10
Cambridge, MA 02138
phone 617.496.5988
lab 617.495.3267
email [EMAIL PROTECTED]
web
All,
I just committed a fix on the SVN. Now, the axis keyword should be recognized.
Sorry for the delay.
Pierre
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
22 matches
Mail list logo