49 double getDt (
void )
const;
52 const vector<double>& yvec
53 , vector<double>& tvec
54 ,
const double& lasttime
64 void input (
double v );
65 void spike (
double v );
bool getUseStreamer(void) const
void setUseStreamer(bool status)
string text_
text_ to write.
void reinit(const Eref &e, ProcPtr p)
Reinitialize.
string format_
format of data. Default to csv.
bool outfileIsSet_
Wheather or not outfile path is set by user.
static const Cinfo * initCinfo()
std::ofstream of_
Output stream.
void setOutfile(string outfilepath)
string tableColumnName_
Column name of this table. Use it when writing data to a datafile.
void zipWithTime(const vector< double > &yvec, vector< double > &tvec, const double &lasttime)
Take the vector from table and timestamp it. It must only be called when packing the data for writing...
double dt_
dt of its clock. Needed for creating time co-ordinates,
void process(const Eref &e, ProcPtr p)
void setColumnName(const string colname)
void setThreshold(double v)
string rootdir_
Table directory into which dump the stream data.
string getColumnName() const
bool useStreamer_
If stream is set to true, then stream to outfile_. Default value of outfile_ is table path starting f...
double getThreshold() const
vector< string > columns_
string getOutfile(void) const
bool getUseSpikeMode(void) const
vector< double > data_
Keep the data, each entry is preceeded by time value. t0, v0, t1, v1, t2, v2 etc. ...
Table & operator=(const Table &tab)
void setUseSpikeMode(bool status)
void setFormat(const string format)