|
|
def | __init__ |
| |
|
def | set_horizon_factors |
| |
|
def | __call__ |
| |
|
def | __iadd__ |
| |
|
def | increment |
| |
|
def | copy |
| |
|
def | local_mean_horizon_distance |
| |
|
def | add_signal_model |
| |
| def | candidate_count_model |
| |
| def | random_sim_params |
| |
|
def | to_xml |
| |
|
def | from_xml |
| |
|
def | __init__ |
| |
|
def | __iadd__ |
| |
|
def | increment |
| |
|
def | copy |
| |
|
def | mkinterps |
| |
|
def | finish |
| |
|
def | to_xml |
| |
|
def | from_xml |
| |
|
|
| population_model_file |
| |
|
| dtdphi_file |
| |
|
| horizon_factors |
| |
|
| idq_file |
| |
|
| densities |
| |
|
| horizon_history |
| |
|
| population_model |
| |
|
| InspiralExtrinsics |
| |
|
| idq_glitch_lnl |
| |
|
| template_ids |
| |
|
| instruments |
| |
|
| min_instruments |
| |
|
| delta_t |
| |
|
| densities |
| |
|
| interps |
| |
|
| to_xml |
| |
|
| finish |
| |
|
|
float | snr_min = 4.0 |
| |
|
int | chi2_over_snr2_min = 1 |
| |
|
int | chi2_over_snr2_max = 1 |
| |
|
tuple | snr_chi_binning = rate.NDBins((rate.ATanLogarithmicBins(2.6, 26., 300), rate.ATanLogarithmicBins(.001, 0.2, 280))) |
| |
Definition at line 315 of file inspiral_lr.py.
| def stats.inspiral_lr.LnSignalDensity.candidate_count_model |
( |
|
self, |
|
|
|
rate = 1000. |
|
) |
| |
Compute and return a prediction for the total number of
above-threshold signal candidates expected. The rate
parameter sets the nominal signal rate in units of Gpc^-3
a^-1.
Definition at line 471 of file inspiral_lr.py.
| def stats.inspiral_lr.LnSignalDensity.random_sim_params |
( |
|
self, |
|
|
|
sim, |
|
|
|
template_id = None, |
|
|
|
snr_efficiency = 1.0, |
|
|
|
f_low = 15. |
|
) |
| |
Generator that yields an endless sequence of randomly
generated parameter dictionaries drawn from the
distribution of parameters expected for the given
injection, which is an instance of a SimInspiral table row
object (see ligo.lw.lsctables.SimInspiral for more
information). Each value in the sequence is a tuple, the
first element of which is the random parameter dictionary
and the second is 0.
See also:
LnNoiseDensity.random_params()
The parameters do not necessarily represent valid
candidates, for example the number of detectors reporting a
trigger might be less than the .min_instruments parameter
configured for the ranking statistic. It is the job of the
calling code to check the parameters for validity before
using them to compute ranking statistic values. This is
done to allow the calling code to measure the frequency
with which the injection is expected to be undetectable.
Otherwise, the sequence is suitable for input to the
.ln_lr_samples() log likelihood ratio generator.
Bugs:
The second element in each tuple in the sequence is merely
a placeholder, not the natural logarithm of the PDF from
which the sample has been drawn, as in the case of
random_params(). Therefore, when used in combination with
.ln_lr_samples(), the two probability densities computed
and returned by that generator along with each log
likelihood ratio value will simply be the probability
densities of the signal and noise populations at that point
in parameter space. They cannot be used to form an
importance weighted sampler of the log likelihood ratios.
Definition at line 487 of file inspiral_lr.py.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/gstlal-inspiral-1.9.3/python/stats/inspiral_lr.py