SPINspiral
SPINspiral is a parameter-estimation code for gravitational-wave signals detected by LIGO/Virgo
Defines | Functions
include/remez.h File Reference

(SPINspiral version 0.5.1, revision 275)

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BANDPASS   1
#define DIFFERENTIATOR   2
#define HILBERT   3
#define NEGATIVE   0
#define POSITIVE   1
#define Pi   3.1415926535897932
#define Pi2   6.2831853071795865
#define GRIDDENSITY   16
#define MAXITERATIONS   40

Functions

void remez (double h[], int numtaps, int numband, double bands[], double des[], double weight[], int type)
void CreateDenseGrid (int r, int numtaps, int numband, double bands[], double des[], double weight[], int *gridsize, double Grid[], double D[], double W[], int symmetry)
void InitialGuess (int r, int Ext[], int gridsize)
void CalcParms (int r, int Ext[], double Grid[], double D[], double W[], double ad[], double x[], double y[])
double ComputeA (double freq, int r, double ad[], double x[], double y[])
void CalcError (int r, double ad[], double x[], double y[], int gridsize, double Grid[], double D[], double W[], double E[])
void Search (int r, int Ext[], int gridsize, double E[])
void FreqSample (int N, double A[], double h[], int symm)
short isDone (int r, int Ext[], double E[])

Define Documentation

#define BANDPASS   1

Referenced by filter(), and remez().

#define DIFFERENTIATOR   2

Referenced by remez().

#define HILBERT   3
#define NEGATIVE   0

Referenced by CreateDenseGrid(), and remez().

#define POSITIVE   1

Referenced by FreqSample(), and remez().

#define Pi   3.1415926535897932

Referenced by FreqSample(), and remez().

#define Pi2   6.2831853071795865

Referenced by CalcParms(), ComputeA(), FreqSample(), and remez().

#define GRIDDENSITY   16

Referenced by CreateDenseGrid(), and remez().

#define MAXITERATIONS   40

Referenced by remez().


Function Documentation

void remez ( double  h[],
int  numtaps,
int  numband,
double  bands[],
double  des[],
double  weight[],
int  type 
)
void CreateDenseGrid ( int  r,
int  numtaps,
int  numband,
double  bands[],
double  des[],
double  weight[],
int *  gridsize,
double  Grid[],
double  D[],
double  W[],
int  symmetry 
)

References GRIDDENSITY, and NEGATIVE.

Referenced by remez().

void InitialGuess ( int  r,
int  Ext[],
int  gridsize 
)

Referenced by remez().

void CalcParms ( int  r,
int  Ext[],
double  Grid[],
double  D[],
double  W[],
double  ad[],
double  x[],
double  y[] 
)

References Pi2.

Referenced by remez().

double ComputeA ( double  freq,
int  r,
double  ad[],
double  x[],
double  y[] 
)

References c, and Pi2.

Referenced by CalcError(), and remez().

void CalcError ( int  r,
double  ad[],
double  x[],
double  y[],
int  gridsize,
double  Grid[],
double  D[],
double  W[],
double  E[] 
)

References ComputeA().

Referenced by remez().

void Search ( int  r,
int  Ext[],
int  gridsize,
double  E[] 
)

Referenced by remez().

void FreqSample ( int  N,
double  A[],
double  h[],
int  symm 
)

References Pi, Pi2, and POSITIVE.

Referenced by remez().

short isDone ( int  r,
int  Ext[],
double  E[] 
)

References max, and min.

Referenced by remez().

 All Data Structures Files Functions Variables Defines