|
Re: byteoder for float numbers conversion [message #8070 is a reply to message #8066] |
Tue, 04 February 1997 00:00  |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
Meili Zhong wrote:
>
> I want to convert the float numbers from UNIX format(big-edian)
> to PC format(small-edian). For example, I have a float array
> data(420)
>
> None of these commands worked:
> byteorder, data
> byteorder, data, /xdrtof
> byteorder, data, /ftoxdrt
>
> I can write the C program to do it but my file is the IDL
> structure so I like to solve this problem in IDL too.
>
> Thanks.
>
> P.S: Does anybody has the IDL program drawing topographic
> map for EEG(ERP) data? Thanks a lot.
>
> Yafeng Li
Try SWAP_ENDIAN.
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|