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

Home » Public Forums » archive » Reading 32-bit complex numbers in IDL (16-bit real / 16-bit imaginary)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading 32-bit complex numbers in IDL (16-bit real / 16-bit imaginary) [message #77117] Sun, 07 August 2011 05:01 Go to previous message
Waqas A. Qazi is currently offline  Waqas A. Qazi
Messages: 3
Registered: August 2011
Junior Member
Hi,

I couldn't find a discussion of this specific problem on the group, so
I am posting it here in hope of a solution.

I have complex data in a binary file, with each value comprising of 4
bytes (32 bits), such that the 32-bit complex number consists of 16-
bit real and 16-bit imaginary. I could use define a complex array in
IDL and then read the data using the readu command, however the
"complex" format in IDL is a 2*32-bit definition, i.e. 32-bit real and
32-bit imaginary. How can I read the 16-bit real - 16-bit imaginary
complex number in IDL?


Thanks,
Waqas.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: TITLE property using object graphics
Next Topic: IDL on Mac OS X 10.7 (Lion)

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

Current Time: Fri Oct 10 04:38:39 PDT 2025

Total time taken to generate the page: 1.12061 seconds