Headers for the CAMP-VIRTTEX example
/* * camp_utilities.h * camp * * Created by Jeff Greenberg on 7/11/05. * Copyright Jeff Greenberg. * * This library is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free Software * Foundation; either version 2.1 of the License, or (at your option) any later * version. * This library is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License along * with this library; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA * * This library is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free Software * Foundation; either version 2.1 of the License, or (at your option) any later * version. * This library is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License along * with this library; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <iostream> #include <fstream> #include <sstream> #include <list> #include <string> #include <vector> #include <limits> #include <math.h> #include "dataFrame.h" #include "dataFile.h" #include "timeSeries.h" #include "timeSeriesArray.h" #include "lookupTable.h" #include "filter.h" #include "measures.h" #include "stateFlag.h" #include <tclap/CmdLine.h> std::string removePathExt(const std::string&); std::string getLeafName(std::string& file); bool getPrintState(void); template <class T> void filtfilt(iir_t *lpf,timeSeries<T>& ts); stateFlag getVirttexStateFlag(std::string s,dataFile& df); std::vector<std::string> parseFileList(int argc, char *argv[]); bool datFileExists(std::string& dataFileName);