Waveform filter programs
geophone.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <tfxx/commandline.h>
#include <tfxx/error.h>
#include <tfxx/misc.h>
#include <aff/series.h>
#include <aff/seriesoperators.h>
#include <sffostream.h>
Include dependency graph for geophone.cc:

Go to the source code of this file.

Classes

struct  Tparameters
 
struct  Toptions
 

Macros

#define GEOPHON_VERSION   "GEOPHONE V1.4 calculate geophone response"
 

Typedefs

typedef aff::Series< double > Tseries
 

Functions

Tseries response (const double &fn, const double &h, const double &dt, const int &n)
 
double func_heff (const double &fn, const double &hoc, const double &C, const double &Rc, const double &Rs)
 
double func_Rs (const double &fn, const double &hoc, const double &C, const double &Rc, const double &heff)
 
double func_Rs (const double &Ri, const double &Rd, const double &R1)
 
double func_Rd (const double &Rs, const double &Ri)
 
double func_V (const double &Ri, const double &Rc)
 
double func_V (const double &Ri, const double &Rc, const double &R1, const double &Rd)
 
double func_RdV (const double &Ri, const double &Rc, const double &V)
 
double func_R1 (const double &Ri, const double &Rc, const double &Rs, const double &V)
 
double func_R2 (const double &Ri, const double &Rc, const double &Rs, const double &V)
 
void writeparameters (std::ostream &os, const std::string &prefix, const Tparameters &para, const double &hnd, const double &heff, const double &Rs, const double &R1, const double &Rd, const double &Afac, const double &Afaceff)
 
int main (int iargc, char *argv[])
 

Variables

const double pi =3.1415926535