Tune Kamae (sent by Nabble.com) wrote:
> I am thinking to upgrade my desktop to 64bit cpu with 16GB memory to handle
> large astronomical images and data. I wonder if
> 1) the latest numarry (besides 2d slicing) has been tested with one or more
> 64 bit CPU and Linux distributions
Certainly.
I am thinking to upgrade my desktop to 64bit cpu with 16GB memory to handle
large astronomical images and data. I wonder if
1) the latest numarry (besides 2d slicing) has been tested with one or more
64 bit CPU and Linux distributions
2) with 64 bit address space, will numarray be able to h
thanks, i ran it -- the only difference i got was the numarray version:
1.1.1 on the 686, and 1.3.3 on the 64bit... but i wouldn't have thought
that would make too much difference.
--
http://mail.python.org/mailman/listinfo/python-list
Do you have a simple program that demonstrates the problem?
I have an x86 machine with Python 2.3, and an x86_64 machine with Python 2.4
available. I wrote a simple test program which performs a slice operation,
but it behaves the same on both platforms.
Here's the program:
#
jeg wrote:
> dear all,
>
> i'm an astronomer working with 2d images -- 2d numarrays. i have a
> script which basically does some operations on some images, and one of
> the first steps is to find a galaxy on an image (at, say, a known x,y
> coord), and create a sub-image by slicing out part of the
On Wed, 2004-12-08 at 16:22, Steven Bethard wrote:
> Adam DePrince wrote:
> > The use of None as the default parameter was on purpose; the lack of
> > "magic" in python is often cited in religious wars between python and
> > perl aficionados. Use of get(something, None) was on purpose, the level
I am also not here to criticize style here, but I want to point
something out.
Something like a[1,2] might look wrong, but it's actually parsed
specially by Python to accommodate slicing of multidimensional arrays.
The difference is that, inside [], you can use slicing syntax, as in
a[1:2,3:4]. B
Adam DePrince wrote:
The use of None as the default parameter was on purpose; the lack of
"magic" in python is often cited in religious wars between python and
perl aficionados. Use of get(something, None) was on purpose, the level
of familiarity with the language implied by the original question
On Wed, 2004-12-08 at 15:06, Steven Bethard wrote:
> Adam DePrince wrote:
> > If your data is sparse you might want to consider using a dictionary
> > where the key is a tuple representing the coordinates.
> >
> > a = {}
> > a[(0,0)] = 0
> > a[(0,1)] = 1
> [snip]
> print a.get( (5,0), None )
>
Adam DePrince wrote:
If your data is sparse you might want to consider using a dictionary
where the key is a tuple representing the coordinates.
a = {}
a[(0,0)] = 0
a[(0,1)] = 1
[snip]
print a.get( (5,0), None )
Good point. Note that you don't need the parentheses in the assignments
or item acces
On Tue, 2004-12-07 at 23:02, Steven Bethard wrote:
> LutherRevisited wrote:
> > I'm wanting to do something with a list that is basically a 2 dimensional
> > array. I'm not so good with lists so can someone give me an example of how
> > I
> > might implement this in Python? thanks.
>
> If you'r
LutherRevisited wrote:
I'm wanting to do something with a list that is basically a 2 dimensional
array. I'm not so good with lists so can someone give me an example of how I
might implement this in Python? thanks.
If you're planning to do anything serious with a 2D array, you should
probably loo
12 matches
Mail list logo