Unpacking binary data
- To: mathgroup at smc.vnet.net
- Subject: [mg27849] Unpacking binary data
- From: "Jon Joseph" <pokemon at tds.net>
- Date: Thu, 22 Mar 2001 04:29:55 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I would like to read binary data from a file for analysis. The file has an 848 byte header followed by the data. The data is from a 17 channel device so the file has a seventeen data point interleave ie channel 1 is in the first slot, channel 2 in the second slot and so on up to seventeen. At that point a new value for channel 1 begins again and the thing repeats. The data is stored as two byte signed integers. Does Mathematica have a convenient way of reading this data? I would like to create seventeen separate arrays. Thanks, Jon. Dr. Jon Joseph VP of Advanced Technology Nicolet Biomedical 5225 Verona Road Madison WI 53711 (608) 441-2075 (608) 206-2063 (cell) (608) 441-2003 (fax) jjoseph at nicoletbiomedical.com