Coverage for /opt/anaconda/lib/python3.7/site-packages/llama/files/coinc_analyses.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# (c) Stefan Countryman, 2016-2018
3"""
4FileHandlers associated with measuring coincidences between triggers.
5"""
7from llama.files import healpix
9# DEPENDENCIES
10from llama.files.lvc_skymap import LvcSkymapHdf5
11from llama.files.fermi_grb import FermiGRBsJSON
12from llama.files.i3.json import IceCubeNeutrinoList
14# auto-generate FileHandlers for all of our coincidence analysis algorithms
15INPUT_COMBOS = [
16 [LvcSkymapHdf5, IceCubeNeutrinoList],
17 [LvcSkymapHdf5, FermiGRBsJSON],
18 [FermiGRBsJSON, IceCubeNeutrinoList],
19 [LvcSkymapHdf5, FermiGRBsJSON, IceCubeNeutrinoList]
20]
21healpix.healpix_skymap_analysis_factory(
22 INPUT_COMBOS,
23 make_plotters=True,
24 make_stats=False,
25 noclobber=True
26)
28# manually add an O2-style LLAMA plot