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

Reduced order quadrature generation functions for use in parameter estimation codes for targeted pulsar searches. 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

Reduced order quadrature generation functions for use in parameter estimation codes for targeted pulsar searches.

Author
Matthew Pitkin

Definition in file ppe_roq.c.

Go to the source code of this file.

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.