Reduced order quadrature generation functions for use in parameter estimation codes for targeted pulsar searches. More...
Prototypes | |
REAL8 * | chebyshev_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... | |
COMPLEX16Array * | generate_training_set (LALInferenceRunState *rs, UINT4 n) |
Generate a training set of waveforms for the basis generation. More... | |
REAL8Array * | generate_training_set_quad (LALInferenceRunState *rs, UINT4 n) |
Generate a training set of waveforms for the quadratic term basis generation. More... | |
Reduced order quadrature generation functions for use in parameter estimation codes for targeted pulsar searches.
Definition in file ppe_roq.c.
Go to the source code of this file.
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.
[in] | runState | The algorithm run state |
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.
[in] | rs | A temporary run state |
[in] | n | The number of training waveforms |
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.
[in] | rs | A temporary run state |
[in] | n | The number of training waveforms |