A program to listen to lvalerts, download the psd from gstlal gracedb events, plot it, and upload the results.
More...
Go to the source code of this file.
|
import logging from optparse
import OptionParser import os
path import sys import urllib
parse as urlparse import json
import lal from glue ligolw
import utils as ligolw_utils
from gstlal import
lvalert_helper from gstlal
plots import psd as plotpsd
from ligo gracedb import rest
as gracedb import matplotlib
matplotlib rcParams | update ({"font.size":10.0,"axes.titlesize":10.0,"axes.labelsize":10.0,"xtick.labelsize":8.0,"ytick.labelsize":8.0,"legend.fontsize":8.0,"figure.dpi":100,"savefig.dpi":100,"text.usetex":True,"path.simplify":True}) def get_psds(gracedb_client |
| |
|
import logging from optparse
import OptionParser import os
path import sys import urllib
parse as urlparse import json
import lal from glue ligolw
import utils as ligolw_utils
from gstlal import
lvalert_helper from gstlal
plots import psd as plotpsd
from ligo gracedb import rest
as gracedb import matplotlib
matplotlib rcParams | graceid |
| |
import logging from optparse
import OptionParser import os
path import sys import urllib
parse as urlparse import json
import lal from glue ligolw
import utils as ligolw_utils
from gstlal import
lvalert_helper from gstlal
plots import psd as plotpsd
from ligo gracedb import rest
as gracedb import matplotlib
matplotlib rcParams | filename = "psd.xml.gz" |
| |
A program to listen to lvalerts, download the psd from gstlal gracedb events, plot it, and upload the results.
Command line interface
--no-upload: Write plots to disk.
--skip-404: Skip events that give 404 (file not found) errors (default is to abort).
--verbose: Be verbose.
Preamble
=============================================================================
Definition in file gstlal_inspiral_lvalert_psd_plotter.