Mercurial > hg > aimc
changeset 434:e6ce337297a8
Created wiki page through web user interface.
author | tom@acousticscale.org |
---|---|
date | Thu, 04 Nov 2010 18:22:42 +0000 |
parents | fce57e24aab2 |
children | 9f1a8d30c6da |
files | wiki/AIMCDataFormat.wiki |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wiki/AIMCDataFormat.wiki Thu Nov 04 18:22:42 2010 +0000 @@ -0,0 +1,19 @@ +#summary AIM-C simple data file format. + +The module [http://code.google.com/p/aimc/source/browse/trunk/src/Modules/Output/FileOutputAIMC.cc FileOutputAIMC] provides data in a simple format which can be read by other programs. + +The data is stored as 32-bit floats with the native byte-ordering of the machine the file was written on. Before the data, there is a simple header. + +== Header format == +The first 20 bytes of the file contain the following fields: + +32-bit unsigned integer: frame_count +32-bit float: frame_period_ms +32-bit unsigned integer: channel_count +32-bit unsigned integer buffer_length +32-bit float: sample_rate + + + +== Reading the files using MATLAB == +Use [http://code.google.com/p/aimc/source/browse/trunk/matlab/AIMCread.m the MATLAB AIMCread function] to read the files.