2's complement conversion. Is this right?
Grant Edwards
grante at visi.com
Fri Apr 18 23:33:34 EDT 2008
On 2008-04-18, Bob Greschke <bob at passcal.nmt.edu> wrote:
> I'm on a Solaris 8 with Python 2.3.4 and when crunching
> through, literally, millions and millions of samples of
> seismic data fingers point out the difference nicely. :) I'll
> look into this more on some of our bigger better faster
> machines (there is no -m option for timeit on the Sun :). The
> Sun is just what I develop on. If stuff runs fast enough to
> keep me awake on there over an ssh'ed X11 connection it
> should run even better on the real field equipment (Macs,
> Linuxes, WinXPs).
If time is an issue, I might write a C program to convert the
files from 24-bit numbers to 32-bit numbers. Then you can use
numpy to load huge arrays of them in a single whack.
--
Grant Edwards grante Yow! .. he dominates the
at DECADENT SUBWAY SCENE.
visi.com
More information about the Python-list
mailing list