comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading binary files made by Python
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading binary files [message #54511 is a reply to message #49280] Tue, 19 June 2007 06:06 Go to previous messageGo to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
> I have no experience with this, but what happens if you use (e.g. for
> 3rd spectrum):
>
> specnr=2
> nlen=7323
> n=2*nlen+1
> specoff=n*specnr*4
> spectra = Assoc(lun, Fltarr(n),specoff)

Sorry, this:

specnr=2
nlen=7323
n=2*nlen
specoff=(n+1)*specnr*4
spectra = Assoc(lun, Fltarr(n),specoff)


I assume here that the data is: DWORD|fltarr(n)|DWORD|fltarr(n)...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: extracting specific substrings from a text-file
Next Topic: Re: Error: X does not support locale C.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:43:47 PDT 2025

Total time taken to generate the page: 1.19784 seconds