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

Home » Public Forums » archive » Re: byteoder for float numbers conversion
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: byteoder for float numbers conversion [message #8070 is a reply to message #8066] Tue, 04 February 1997 00:00 Go to previous message
Phil Williams is currently offline  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/
/*********************************************************** ********/
[Message index]
 
Read Message
Read Message
Previous Topic: INT_TABULATED (2D?)
Next Topic: CGM-files

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

Current Time: Sat Nov 29 03:53:31 PST 2025

Total time taken to generate the page: 1.11909 seconds