template_bank_generator_HM#
Back to API tree index
Purpose#
HM template-bank generation and basis-coefficient utilities.
Module summary#
No module-level description available.
Function |
Summary |
|---|---|
Generate frequency domain waveform using LAL. Return hplus, hcross evaluated at f. |
|
Overlap between two waveforms |
|
Computes factor by which overlap degrades = SNR efficiency |
|
Generates n_wf random parameters. Applies either mrng (preferably) or mtrng, along with qrng |
|
Generates waveforms with given binary parameters |
|
No docstring summary available. |
|
Return a grid of frequencies that allows to safely get unwrapped phase. At low frequencies (fmin < f < fmid) it guarantees that the post-Newtonian phase increases by constant amounts of <= delta_radians for mchirp >= mchirp_min. At high frequencies (fmid < f < fmax) it switches to a regular grid. |
|
create a function that interpolate the prior for N-dimensional c-alpha array |
|
Fits out a linear dependence of phase w.r.t frequency |
|
This module creates the .pickle file for the template prior which is later used in ranking the candidates. |
|
calpha_samples and calpha_test_set should have sample weights as their last column (the sample weights are corresponding to volume sensitivity in the case of the HM search) |
|
Returns components of waveforms in the given basis |
|
Transforms [m1, m2, s1z, s2z, lambda1, lambda2] to commonly used parameters [mchirp, eta, chieff, chia, tilde{lambda}, delta tilde{lambda}] |
|
Upsample given lwfs to an output frequency grid Note: Amplitudes are linearly interpolated, with zeros outside the range Pad phases with edge values to avoid discontinuities at the edges |
Class |
Summary |
|---|---|
No class docstring summary available. |
|
No class docstring summary available. |