semi off topic.
Does anyone know of any good visual programming tools? Forever ago, I
used to use something called Khoros for image processing and I found it
very useful. You connect boxes which represent different processing
steps. At about the same time, there was something similar to Khoros
I don't see a windows binary. Will this be added?
Mathew
Travis Oliphant wrote:
> There is now a 1.0rc1 tag on the NumPy SVN tree. I've confirmed it
> builds and passes all tests on my Linux box for Python2.3-Python2.5
>
> -Travis
>
>
> ---
I'm running the following
python c:\Python24\Scripts\f2py.py --fcompiler=absoft -c foo.pyf foo.f
and it seems that the compiler info isn't being passed down. When
distutils tries to compile I get the error
---
File
"C:\Python24\Lib\site-packag
Hi
Is there any support for combinatorics in numpy or scipy? Actually, all
I need is to evaluate is (n/m) i.e. n choose m.
If numpy doesn't have it, anyone know of a good public domain prog?
Mathew
-
Using Tomcat but need
Thank you!
Travis Oliphant wrote:
> Mathew Yeates wrote:
>
>> Hi
>> Is there any support for combinatorics in numpy or scipy? Actually, all
>> I need is to evaluate is (n/m) i.e. n choose m.
>>
>>
>>
> In [3]: scipy.comb(109,54,exact=1
Hi
I am trying to compile a 64 bit version of numpy with gcc. When
building, numpy tries to figure out the lapack/atlas version.
Up to this point, everything has been compiled with gcc -m64 and all is
groovy. But, when an attempt is made to get the atlas version, the link
fails because the comma
yes, I got around the problem from my previous posting "distutils
question". I added ld_args[:0] = ['-m64'] to line 209 of
python2.5/distutils/unixcompiler.py. Lovely, yes I know.
I now get an error "numpy/core/src/multiarraymodule.c:7230: error:
`NPY_ALLOW_THREADS' undeclared". This is after
I have a memory mapped array. When I try and assign data, my mem usage
goes through the roof.
example: outdat[filenum,:]=outarr where outdat is memory mapped.
Anybody know how to avoid this?
Mathew
-
Using Tomcat but need
Charles R Harris wrote:
>
>
> On 11/13/06, *Mathew Yeates* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> I have a memory mapped array. When I try and assign data, my mem usage
> goes through the roof.
>
>
> Is it cache memory or proce
Hi
I'm running a 64 bit Python 2.5 on an x86 with Solaris. I have a
function I call over 2^32 times and eventually I run out of memory.
The function is
def make_B(deltadates):
numcols=deltadates.shape[0]
B=numpy.zeros((numcols,numcols))
for ind in range(0,numcols): #comment out this l
Robert Kern wrote:
> Mathew Yeates wrote:
>
>> Hi
>> I'm running a 64 bit Python 2.5 on an x86 with Solaris. I have a
>> function I call over 2^32 times and eventually I run out of memory.
>>
>> The function is
>> def make_B(deltadates):
>>
Stefan van der Walt wrote:
On Wed, Nov 15, 2006 at 02:33:52PM -0600, Robert Kern wrote:
Mathew Yeates wrote:
Hi
I'm running a 64 bit Python 2.5 on an x86 with Solaris. I have a
function I call over 2^32 times and eventually I run out of memory.
The function is
def make_B(delta
Robert Kern wrote:
> Mathew Yeates wrote:
>
>
>> def delta2day1(delta):
>> return delta.days/365.0
>> deltas2days=numpy.frompyfunc(delta2day1,1,1)
>>
>
> If I had to guess where the problem is, it's here. frompyfunc() and
> vectorize(
Hi
I typically deal with very large arrays that don't fit in memory. How
does Numpy handle this? In Matlab I can use memory mapping but I would
prefer caching as is done in The Gimp.
Any pointers appreciated.
Mathew
___
Numpy-discussion mailing list
Heres the problem The function get_flags_linker_so in
numpy/distutils/fcompiler/gnu.py is not called anywhere. Because of
this, g2c is not added as a library and -mimpure-text is not set. This
causes the "s_wsfe unresolved" problem.
Anybody know how to fix this?
Mathew
___
I finally got things linked with libg2c but now I get
import linalg -> failed: ld.so.1: python: fatal: relocation error: file
/u/fuego0/myeates/lib/python2.4/site-packages/numpy/linalg/lapack_lite.so:
symbol dgeev_: referenced symbol not found
I looked all through my ATLAS source and I see no dg
I consistently core dump when I do the following
1) from the console I do
>import numpy
>numpy.test(level=1,verbosity=2)
>numpy.test(level=1,verbosity=2)
>numpy.test(level=1,verbosity=2)
the third time (and only the third) I get a core dump in test_types. It
happens on the line
val = vala+val
error with : got
6765201.000364
--
Ran 377 tests in 0.347s
FAILED (failures=1)
Mathew Yeates wrote:
> I consistently core dump when I do the following
> 1) from the console I do
> >import numpy
> >numpy.te
SunOS 5.10 Generic_118844-20 i86pc i386 i86pcSystem = SunOS
David M. Cooke wrote:
> On Wed, 14 Jun 2006 14:06:13 -0700
> Mathew Yeates <[EMAIL PROTECTED]> wrote:
>
>
>> Travis suggested I use svn and this worked!
>> Thanks Travis!
>>
>> I'm now
when I try and load a file with numpy.fromfile I keep getting a message
7245092 items requested but only 3899 read. Its always the same number read.
I've checked and I'm giving the correct filename and its the correct
size. Any idea whats going on?
This is with 0.9.8
Mathew
Using Tomcat
When I specify count=-1 I get the exact same error. So, numpy was able
to determine the filesize. It just can't read it.
Mathew
Mathew Yeates wrote:
> when I try and load a file with numpy.fromfile I keep getting a message
> 7245092 items requested but only 3899 read. Its alwa
This is probably in an FAQ somewhere but .
Is there a tool out there for translating Matlab to Numeric? I found a
1999 posting by Travis asking the same thing! It doesn't seem like it
would be all THAT difficult to write.
Mathew
Using Tomcat but need to do more? Need to support web servic
>
> I'm porting by hand. It does not seem easy to me. And even if it were
Ah. Do I detect a dare? Could start first by using Octaves matlab parser.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi
I've been looking at a project called ANTLR (www.antlr.org) to do the
translation. Unfortunately, although I may have a Matlab grammar, it
would still be a lot of work to use ANTLR. I'll look at some of the
links that have posted.
Mathew
Robert Kern wrote:
> Vinicius Lobosco wrote:
>
>> Le
What is the typical way of doing the following
starting with a 0 matrix, set all values to 1 when a certain condition
is met, set to -1 when another condition is met, left alone if neither
condition is met.
Mathew
Using Tomcat but need to do more? Need to support web services, security?
Get st
o. I was looking at using "where"
Keith Goodman wrote:
> On 7/5/06, Mathew Yeates <[EMAIL PROTECTED]> wrote:
>> What is the typical way of doing the following
>> starting with a 0 matrix, set all values to 1 when a certain condition
>> is met, set to -
True False False False True True]]
I experimented with "<" instead of "==" but I still get boolean values
as indices.
Any help?
Mathew
Keith Goodman wrote:
> On 7/5/06, Mathew Yeates <[EMAIL PROTECTED]> wrote:
>> What is the typical way of doing the foll
The very example you give produces
IndexError: arrays used as indices must be of integer type
this is with 0.9.8
Also .while your example says "rand" I had to say numpy.rand
This is on WindowsXP
Mathew
Travis Oliphant wrote:
> Mathew Yeates wrote:
>
>> Not worki
okay, I went back to the binary windows distrib. Based on Keths code I wrote
>> print numpy.asmatrix(all_dates == start_dates[row],dtype=int)
[[0 0 0 0 0 0 0 0 0 0 0 1 0 0]]
>> [row,numpy.asmatrix(all_dates == start_dates[row],dtype=int)] = -1
>> print A[row,:]
[[-1. -1. 0. 0. 0. 0. 0. 0.
I can handle the following problem by iterating through some indices but
I'm looking for a more elegant solution.
If I have a 1d array, I want to find a contiguous nonzero region about a
given index. For example, if a=[1,2,3,0,40,50,60,0,7,8,9] and we start
with the index of 5, then I want the
der :-)
>
> Hint a[::-1] will reverse a.
>
>
> On 7/11/06, Mathew Yeates <[EMAIL PROTECTED]> wrote:
>> I can handle the following problem by iterating through some indices but
>> I'm looking for a more elegant solution.
>>
>> If I have a 1d ar
I installed numpy-1.0b1 and now >import numpy produces a segv. According
to gdb it's happening after a failure to import scipy.optimize.minpack2.
Eventually, Py_FatalError is called followed by abort,raise and
thr_kill. Then the SEGV.
Any ideas? Do I need a different version of scipy? I current
--bb
>
> On 7/25/06, Mathew Yeates <[EMAIL PROTECTED]> wrote:
>> I installed numpy-1.0b1 and now >import numpy produces a segv. According
>> to gdb it's happening after a failure to import scipy.optimize.minpack2.
>> Eventually, Py_FatalError is called followe
When I try and build I get the warning
*
Lapack library (from ATLAS) is probably incomplete:
size of
/u/fuego0b/myeates/ATLAS/lib/SunOS_HAMMER32SSE3/liblapack.a is 318k
(expected
>4000k)
Follow the instructions in
Here are few problems I had with numpy and scipy
1) Compiling scipy on solaris requires running ld -G instead of gcc
-shared. Apparently, gcc was not passing the correct args to my nongnu
ld. I could not figure out how to alter setup.py to link using ld
instead of gcc so I had to link by hand.
Here is a similar problem I wish could be fixed. In scipy.io.mio is
savemat with the line
if type(var) != ArrayType
which, I believe should be changed to
if not isinstance(var,ArrayType):
so I can use savemat with memory mapped arrays.
Mathew
Travis Oliphant wrote:
> Sebastian Haase wrote:
>
My head is about to explode.
I have an M by N array of floats. Associated with the columns are
character labels
['a','b','b','c','d','e','e','e'] note: already sorted so duplicates
are contiguous
I want to replace the 2 'b' columns with the sum of the 2 columns.
Similarly, replace the 3 'e' c
37 matches
Mail list logo