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"""
4The Gravitational Wave/High Energy Neutrino (LLAMA) analysis pipeline.
5"""
7import os
8import warnings
9import logging
10from llama.classes import OptionalFeatureWarning
11if os.environ.get('LLAMA_OPTIONAL_FEATURE_WARNINGS', 'false') != 'true':
12 warnings.filterwarnings("ignore", category=OptionalFeatureWarning)
13# if tkinter is not available, immediately switch to Agg backend
14# import matplotlib
15# try:
16# import tkinter
17# del tkinter
18# except ImportError:
19# matplotlib.use('agg')
20from llama.event import Event
21from llama.run import Run
22from llama.pipeline import Pipeline
23from llama import (
24 files,
25 detectors,
26)
27from llama.utils import (
28 __version__,
29 CACHEDIR,
30 DATADIR,
31 LOGDIR,
32 LOGFILE,
33 DEFAULT_RUN_DIR,
34)
36LOGGER = logging.getLogger(__name__)
38__all__ = ['Event', 'Run', 'Pipeline',
39 'files', 'detectors', 'LOGDIR', 'LOGFILE',
40 'DEFAULT_RUN_DIR', 'DATADIR', 'CACHEDIR', '__version__']