Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALInferenceCalibrationErrors.c File Reference

Prototypes

static REAL8 ConvertRandTransitionSlopeToFunction (REAL8 *coeff, REAL8 f)
 
static void fill_IFO_Amp_vars_from_IFOname (REAL8 *stddev, REAL8 *fbin, char *ifoname)
 
static void fill_IFO_Pha_vars_from_IFOname (REAL8 *stddev, REAL8 *fbin, char *ifoname)
 
static void CreateRandomAmplitudeCalibrationErrors (REAL8 *ampcoeffs, int calib_seed_ampli, char *ifoname)
 
static void CreateRandomPhaseCalibrationErrors (REAL8 *phacoeffs, int calib_seed_pha, char *ifoname)
 
static void FitErrorRealisation (INT4 R, INT4 N, REAL8 *y, REAL8 dlogf, REAL8 *D)
 
static void InvertMatrixSVD (gsl_matrix *A, gsl_matrix *InvA, int N)
 
static REAL8 ConvertCoefficientsToFunction (REAL8 *coeff, REAL8 f)
 
static void ApplySquaredAmplitudeErrors (REAL8FrequencySeries *Spectrum, REAL8 *Acoeffs)
 
static void ApplyBothPhaseAmplitudeErrors (COMPLEX16FrequencySeries *doff, REAL8 *Acoeffs, REAL8 *Pcoeffs)
 
static void ApplyAmplitudeCalibrationErrors (COMPLEX16FrequencySeries *doff, REAL8 *Acoeffs)
 
static void ApplyPhaseCalibrationErrors (COMPLEX16FrequencySeries *doff, REAL8 *Pcoeffs)
 
static void PrintCEtoFile (REAL8 *Acoeffs, REAL8 *Pcoeffs, LALInferenceIFOData *IFOdata, ProcessParamsTable *commandLine)
 
static INT4 getNamedDataOptionsByDetectors (ProcessParamsTable *commandLine, char ***ifos, char ***out, const char *name, UINT4 *N)
 Parse the calibration command line looking for options of the kind —IFO-option value Unlike the correnspoding option in ReadData, this one does not have a preset list of names to lookup, but instead uses the option "name" It is necessary to use this method instead of the old method for the pipeline to work in DAX mode. More...
 
void LALInferenceApplyCalibrationErrors (LALInferenceIFOData *IFOdata, ProcessParamsTable *commandLine)
 

Go to the source code of this file.

Variables

REAL8 freq_min =1.0
 
REAL8 freq_max =4096.01
 
INT4 Npoints = 13
 
INT4 FitOrder = 7
 
const REAL8 random_linearCE_bit =-300.
 

Function Documentation

◆ ConvertRandTransitionSlopeToFunction()

static REAL8 ConvertRandTransitionSlopeToFunction ( REAL8 coeff,
REAL8  f 
)
static

Definition at line 1030 of file LALInferenceCalibrationErrors.c.

◆ fill_IFO_Amp_vars_from_IFOname()

static void fill_IFO_Amp_vars_from_IFOname ( REAL8 stddev,
REAL8 fbin,
char ifoname 
)
static

Definition at line 62 of file LALInferenceCalibrationErrors.c.

◆ fill_IFO_Pha_vars_from_IFOname()

void fill_IFO_Pha_vars_from_IFOname ( REAL8 stddev,
REAL8 fbin,
char ifoname 
)
static

Definition at line 91 of file LALInferenceCalibrationErrors.c.

◆ CreateRandomAmplitudeCalibrationErrors()

void CreateRandomAmplitudeCalibrationErrors ( REAL8 ampcoeffs,
int  calib_seed_ampli,
char ifoname 
)
static

Definition at line 184 of file LALInferenceCalibrationErrors.c.

◆ CreateRandomPhaseCalibrationErrors()

void CreateRandomPhaseCalibrationErrors ( REAL8 phacoeffs,
int  calib_seed_pha,
char ifoname 
)
static

Definition at line 227 of file LALInferenceCalibrationErrors.c.

◆ FitErrorRealisation()

void FitErrorRealisation ( INT4  R,
INT4  N,
REAL8 y,
REAL8  dlogf,
REAL8 D 
)
static

Definition at line 627 of file LALInferenceCalibrationErrors.c.

◆ InvertMatrixSVD()

void InvertMatrixSVD ( gsl_matrix *  A,
gsl_matrix *  InvA,
int  N 
)
static

Definition at line 881 of file LALInferenceCalibrationErrors.c.

◆ ConvertCoefficientsToFunction()

REAL8 ConvertCoefficientsToFunction ( REAL8 coeff,
REAL8  f 
)
static

Definition at line 1003 of file LALInferenceCalibrationErrors.c.

◆ ApplySquaredAmplitudeErrors()

void ApplySquaredAmplitudeErrors ( REAL8FrequencySeries Spectrum,
REAL8 Acoeffs 
)
static

Definition at line 325 of file LALInferenceCalibrationErrors.c.

◆ ApplyBothPhaseAmplitudeErrors()

void ApplyBothPhaseAmplitudeErrors ( COMPLEX16FrequencySeries doff,
REAL8 Acoeffs,
REAL8 Pcoeffs 
)
static

Definition at line 319 of file LALInferenceCalibrationErrors.c.

◆ ApplyAmplitudeCalibrationErrors()

void ApplyAmplitudeCalibrationErrors ( COMPLEX16FrequencySeries doff,
REAL8 Acoeffs 
)
static

Definition at line 297 of file LALInferenceCalibrationErrors.c.

◆ ApplyPhaseCalibrationErrors()

void ApplyPhaseCalibrationErrors ( COMPLEX16FrequencySeries doff,
REAL8 Pcoeffs 
)
static

Definition at line 270 of file LALInferenceCalibrationErrors.c.

◆ PrintCEtoFile()

void PrintCEtoFile ( REAL8 Acoeffs,
REAL8 Pcoeffs,
LALInferenceIFOData IFOdata,
ProcessParamsTable commandLine 
)
static

Definition at line 596 of file LALInferenceCalibrationErrors.c.

◆ getNamedDataOptionsByDetectors()

static INT4 getNamedDataOptionsByDetectors ( ProcessParamsTable commandLine,
char ***  ifos,
char ***  out,
const char name,
UINT4 N 
)
static

Parse the calibration command line looking for options of the kind —IFO-option value Unlike the correnspoding option in ReadData, this one does not have a preset list of names to lookup, but instead uses the option "name" It is necessary to use this method instead of the old method for the pipeline to work in DAX mode.

Warning: do not mix options between the old and new style.

Definition at line 145 of file LALInferenceCalibrationErrors.c.

◆ LALInferenceApplyCalibrationErrors()

void LALInferenceApplyCalibrationErrors ( LALInferenceIFOData IFOdata,
ProcessParamsTable commandLine 
)

Definition at line 343 of file LALInferenceCalibrationErrors.c.

Variable Documentation

◆ freq_min

REAL8 freq_min =1.0

Definition at line 40 of file LALInferenceCalibrationErrors.c.

◆ freq_max

REAL8 freq_max =4096.01

Definition at line 41 of file LALInferenceCalibrationErrors.c.

◆ Npoints

INT4 Npoints = 13

Definition at line 43 of file LALInferenceCalibrationErrors.c.

◆ FitOrder

INT4 FitOrder = 7

Definition at line 45 of file LALInferenceCalibrationErrors.c.

◆ random_linearCE_bit

const REAL8 random_linearCE_bit =-300.

Definition at line 47 of file LALInferenceCalibrationErrors.c.