load_active_data.cpp File Reference

Load Active wire Data for Postprocessing. More...

#include "postprocess.h"
Include dependency graph for load_active_data.cpp:
This graph shows which files directly or indirectly include this file:

Functions

int load_active_data (char *filename, int num_act, vector< vector< double > > &datapoints)
 Load Active wire Data for Postprocessing.

Detailed Description

Load Active wire Data for Postprocessing.


Function Documentation

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.

Parameters:
[in]filenameName of the file where readings have been stored.
[in]num_actNumber of active wire readings in the file.
[out]datapointsThe 2d vector containing all measurement data. First column contains the timestamps.

This function also downsamples the data to 100Hz

Referenced by load_all_measures().

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines