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.
|