Package pylal :: Module extended_background_utils
[hide private]
[frames] | no frames]

Module extended_background_utils

source code

Functions [hide private]
 
max_dt(row, eMatch) source code
 
find_slide_coincs(htrigs, ltrigs, min_mchirp, max_mchirp, ethinca, slide, threshold)
Calculate coincs from single detector triggers.
source code
 
parse_mchirp_bins(param_range) source code
 
get_mchirp_bin(mchirp, mchirp_bins) source code
 
get_veto_coincs(coincs, veto_start, veto_end) source code
 
get_background_livetime(lt1, lt2, slide_step, veto_window=0)
Returns the expected total time-slid coincident livetime for two detectors having single-ifo livetimes lt1, lt2, when doing all possible slides with time offsets being multiples of slide_step.
source code
Function Details [hide private]

find_slide_coincs(htrigs, ltrigs, min_mchirp, max_mchirp, ethinca, slide, threshold)

source code 

Calculate coincs from single detector triggers. We window based on mchirp, apply a new snr threshold, and only keep triggers that lie on a slide boundary.

get_background_livetime(lt1, lt2, slide_step, veto_window=0)

source code 

Returns the expected total time-slid coincident livetime for two detectors having single-ifo livetimes lt1, lt2, when doing all possible slides with time offsets being multiples of slide_step. Specifying veto_window > 0 removes a given duration from each of the single-ifo livetimes.

Derivation: Consider an analysis of length T with two ifos having duty factors d1, d2. Then the expected coinc livetime per slide is T*d1*d2. The maximum possible number of slides is T/s where s is the step. The total time is the product which can be expressed as (T*d1)(T*d2)/s = lt1*lt2/s.