Loading [MathJax]/extensions/TeX/AMSmath.js
LALPulsar 7.1.1.1-ea7c608
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Header file for the reduced order quadrature generation used in parameter estimation code for known pulsar searches using the nested sampling algorithm. More...

Prototypes

REAL8chebyshev_gauss_lobatto_nodes (REAL8 freqmin, REAL8 freqmax, UINT4 nnodes)
 Generate Chebyshev-Gauss-Lobatto nodes in frequency. More...
 
void generate_interpolant (LALInferenceRunState *runState)
 Generate an orthonormal basis set of waveforms from a training set. More...
 
COMPLEX16Arraygenerate_training_set (LALInferenceRunState *rs, UINT4 n)
 Generate a training set of waveforms for the basis generation. More...
 
REAL8Arraygenerate_training_set_quad (LALInferenceRunState *rs, UINT4 n)
 Generate a training set of waveforms for the quadratic term basis generation. More...
 

Detailed Description

Header file for the reduced order quadrature generation used in parameter estimation code for known pulsar searches using the nested sampling algorithm.

Author
Matthew Pitkin

Definition in file ppe_roq.h.

Go to the source code of this file.

Macros

#define ROQTOLERANCE   1e-11
 

Macro Definition Documentation

◆ ROQTOLERANCE

#define ROQTOLERANCE   1e-11

Definition at line 37 of file ppe_roq.h.

Function Documentation

◆ chebyshev_gauss_lobatto_nodes()

REAL8 * chebyshev_gauss_lobatto_nodes ( REAL8  freqmin,
REAL8  freqmax,
UINT4  nnodes 
)

Generate Chebyshev-Gauss-Lobatto nodes in frequency.

Parameters
[in]freqminThe minimum frequency
[in]freqmaxThe maximum frequency
[in]nnodesThe number of nodes
Returns
An array with the node freqeuncy values

Definition at line 46 of file ppe_roq.c.

◆ generate_interpolant()

void generate_interpolant ( LALInferenceRunState runState)

Generate an orthonormal basis set of waveforms from a training set.

This function will use the prior ranges on the parameters to generate a set of training waveforms. From these training waveforms it will generate a set of orthonormal basis functions, with the number generated controlled by a stopping tolerance criterion. In general the values of the parameters for the training set will be drawn randomly from across the prior ranges. However, ff frequency is one of the parameters being used then values will be placed the the Chebyshev-Gauss-Lobatto nodes.

This basis set will be generated seperately for the real and imaginary parts of the model.

Parameters
[in]runStateThe algorithm run state

Definition at line 82 of file ppe_roq.c.

◆ generate_training_set()

COMPLEX16Array * generate_training_set ( LALInferenceRunState rs,
UINT4  n 
)

Generate a training set of waveforms for the basis generation.

This function will create a set of n waveforms randomly placed over the prior parameter space.

Parameters
[in]rsA temporary run state
[in]nThe number of training waveforms
Returns
A complex matrix containing an array of training waveforms

Definition at line 829 of file ppe_roq.c.

◆ generate_training_set_quad()

REAL8Array * generate_training_set_quad ( LALInferenceRunState rs,
UINT4  n 
)

Generate a training set of waveforms for the quadratic term basis generation.

This function will create a set of n waveforms randomly placed over the prior parameter space. The returned array will contain the real part of the product of the waveform with its complex conjugate.

Parameters
[in]rsA temporary run state
[in]nThe number of training waveforms
Returns
A real matrix containing an array of training waveforms

Definition at line 925 of file ppe_roq.c.