Load Active wire Data for Postprocessing. More...
#include "postprocess.h"
Functions | |
int | load_active_data (char *filename, int num_act, vector< vector< double > > &datapoints) |
Load Active wire Data for Postprocessing. |
Load Active wire Data for Postprocessing.
int load_active_data | ( | char * | filename, |
int | num_act, | ||
vector< vector< double > > & | datapoints | ||
) |
Load Active wire Data for Postprocessing.
This function reads the data stored by MARIONET system in files and loads it into vectors containing timestamp of reading and the wire length at that time.
[in] | filename | Name of the file where readings have been stored. |
[in] | num_act | Number of active wire readings in the file. |
[out] | datapoints | The 2d vector containing all measurement data. First column contains the timestamps. |
This function also downsamples the data to 100Hz
Referenced by load_all_measures().