HDF5 channel impulse response input file structure
See Sec. The Channel Data Exchange (CDX) File Format for a description of the CDX format.
Support Program to convert CDX files
SNACS ships with a program to convert continuous-delay CDX files to discrete-delay CDX files. Use these instructions to compile it
On Windows:
- Download and install the MingW graphical installer from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/. Choose the most recent version, i.e. mingw-get-inst-20111118.exe today. During installation of MingW select the C, C++, and Fortran compilers. Also click on "MSYS".
- open a MinGW shell: "Start", "All Programs", "MinGW", "MinGW Shell"
- install bzip2:
mingw-get.exe install bzip2
.
- Download the IT++ library. Get the file itpp-4.2.tar.bz2 from http://sourceforge.net/projects/itpp/files/itpp/4.2.0/. Save the file in C:\libs\
- Go to the MinGW shell window. Go to /c/libs/:
cd /c/libs
- extract itpp-4.2.tar.bz2:
tar xjf itpp-4.2.tar.bz2
- go to the itpp directory:
cd itpp-4.2
- configure the itpp library:
./configure –prefix=/mingw –disable-comm –disable-fixed –disable-optim –disable-protocol –disable-signal –disable-srccode –without-fft –without-blas –without-lapack
- compile the itpp library:
make
- install the itpp library:
make install
- download the Boost library boost_1_48_0.tar.bz2 from http://sourceforge.net/projects/boost/files/boost/1.48.0/ to C:\libs\
- Go to the MinGW shell window. Go to /c/libs/:
cd /c/libs
- extract the Boost library:
tar xjf boost_1_48_0.tar.bz2
- create the directory C:\libs\workspace
- check out the SNACS distribution into C:\libs\workspace\snacs using your favorite SVN client. The URL can be found in Installation for developers.
- Go back to the MinGW shell window. Go to the directory where the support program is located:
cd /c/libs/workspace/snacs/cdx_format/CDX_library_functions/support_programs/convert-continuous-to-discrete-cdx
- compile the program:
make -f Makefile-win
.