SPINspiral
SPINspiral is a parameter-estimation code for gravitational-wave signals detected by LIGO/Virgo
|
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 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().
void remez | ( | double | h[], |
int | numtaps, | ||
int | numband, | ||
double | bands[], | ||
double | des[], | ||
double | weight[], | ||
int | type | ||
) |
References BANDPASS, c, CalcError(), CalcParms(), ComputeA(), CreateDenseGrid(), DIFFERENTIATOR, FreqSample(), GRIDDENSITY, InitialGuess(), isDone(), MAXITERATIONS, NEGATIVE, Pi, Pi2, POSITIVE, and Search().
Referenced by filter().
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[] | ||
) |
double ComputeA | ( | double | freq, |
int | r, | ||
double | ad[], | ||
double | x[], | ||
double | y[] | ||
) |
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 FreqSample | ( | int | N, |
double | A[], | ||
double | h[], | ||
int | symm | ||
) |