Utility Programs


Files

file  sumobjective.cpp
file  plotmtt.cpp
file  printmu.cpp
file  ptfreq.cpp
file  magmean.cpp
file  mtu2birrp.cpp
file  mtubandpass.cpp
file  mtucut.cpp
file  mtufdiff.cpp
file  mtugood.cpp
file  mtumerge.cpp
file  mtupspec.cpp
file  mtura.cpp
file  mtutimefrequency.cpp
file  rotts.cpp
file  syncts.cpp

Functions

int main (int argc, char *argv[])
void WriteToFile (string filename, boost::function< double(const MTTensor *)> datafunc, boost::function< double(const MTTensor *)> errfunc, const MTStation &Data)
void WriteParameterToFile (const MTStation &Data, const string &filename, boost::function< double(const MTTensor *)> f)
 This helper function calculates the errors for a single parameter and writes the values to a file in ascii format.
template<typename T >
void PrintComponent (const std::string &compname, boost::function< const T(const MTTensor *)> f, MTStationList &StationList, int ntestcases=0, double errorfloor=0.02)
 This helper function prints out a single phase tensor component together with error information to a file.
int main ()
void WriteInfoAndAsk (string &infilename, string &outfilename)
void CalcPSpecAndWrite (ttsdata Data, const double samplerate, const int seglength, const string name)
 Calculate the power spectrum and write it to an ascii file.
void CalcTfAndWrite (ttsdata Data, const double samplerate, const int seglength, const int timeavg, const string name)

Variables

string version = "$Id: ptfreq.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"
string version = "$Id: magmean.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"
string version = "$Id: mtucut.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"

Function Documentation

void CalcPSpecAndWrite ( ttsdata  Data,
const double  samplerate,
const int  seglength,
const string  name 
)

Calculate the power spectrum and write it to an ascii file.

Definition at line 24 of file mtupspec.cpp.

References gplib::StackedSpectrum().

void CalcTfAndWrite ( ttsdata  Data,
const double  samplerate,
const int  seglength,
const int  timeavg,
const string  name 
)

Definition at line 26 of file mtutimefrequency.cpp.

References gplib::TimeFrequency().

int main ( void   ) 

Definition at line 82 of file ptfreq.cpp.

References gplib::MTStationList::GetData(), gplib::GetPhiEllip(), and version.

int main ( int  argc,
char *  argv[] 
)

Definition at line 20 of file sumobjective.cpp.

References version.

template<typename T >
void PrintComponent ( const std::string &  compname,
boost::function< const T(const MTTensor *)>  f,
MTStationList StationList,
int  ntestcases = 0,
double  errorfloor = 0.02 
) [inline]

void WriteInfoAndAsk ( string &  infilename,
string &  outfilename 
)

Definition at line 20 of file mtu2birrp.cpp.

References version.

void WriteParameterToFile ( const MTStation Data,
const string &  filename,
boost::function< double(const MTTensor *)>  f 
)

This helper function calculates the errors for a single parameter and writes the values to a file in ascii format.

Definition at line 20 of file printmu.cpp.

References f(), and gplib::MTStation::GetMTData().

void WriteToFile ( string  filename,
boost::function< double(const MTTensor *)>  datafunc,
boost::function< double(const MTTensor *)>  errfunc,
const MTStation Data 
)


Variable Documentation

string version = "$Id: mtucut.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"

Definition at line 18 of file mtucut.cpp.

string version = "$Id: magmean.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"

Definition at line 19 of file magmean.cpp.

string version = "$Id: ptfreq.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $"

Definition at line 26 of file ptfreq.cpp.


Generated on Tue Nov 3 13:24:14 2009 for GPLIB++ by  doxygen 1.5.8