parser.add_option("--reference-psd",help="Set the reference PSD. Required.")
# mass model options
parser.add_option("--template-bank",metavar="filename",help="Set the template bank xml file.")
parser.add_option("--mass-model",metavar="filename",help="Set the name of the mass model. Options are 'narrow-bns', 'broad-bns', 'bbh', 'ligo', 'detected-logm', 'uniform-template', or 'file'")
parser.add_option("--mass-model-file",metavar="filename",help="Set the name of the mass model file, e.g., mass_model.h5. Required if --mass-model=file")
# dtdphi option
parser.add_option("--dtdphi-file",metavar="filename",action="append",help="dtdphi snr ratio pdfs to read from (hdf5 format)")
# trigger generation options
parser.add_option("--web-dir",metavar="directory",help="Set the web directory like /home/USER/public_html")
parser.add_option("--coincidence-threshold",metavar="value",type="float",default=0.005,help="Set the coincidence window in seconds (default = 0.005). The light-travel time between instruments will be added automatically in the coincidence test.")
parser.add_option("--min-instruments",metavar="count",type="int",default=2,help="Set the minimum number of instruments that must contribute triggers to form a candidate (default = 2).")
parser.add_option("--reference-likelihood-file",metavar="file",help="Set a reference likelihood file to compute initial likelihood ratios. Required")
parser.add_option("--ranking-stat-samples",metavar="N",default=2**24,type="int",help="Construct ranking statistic histograms by drawing this many samples from the ranking statistic generator (default = 2^24).")
# FIXME: uhhhhh... yeah
parser.add_option("--injections",action="append",help="append injection files to analyze. Must prepend filename with X:Y:, where X and Y are floats, e.g. 1.2:3.1:filename, so that the injections are only searched for in regions of the template bank with X <= chirp mass < Y.")
# caches
parser.add_option("--dist-stats-cache",metavar="filename",help="Set the cache file for dist stats")
parser.add_option("--lloid-cache",metavar="filename",help="Set the cache file for LLOID")
parser.add_option("--bank-cache",metavar="filenames",action="append",help="Set the bank cache files in format H1=H1.cache,H2=H2.cache, etc.. (can be given multiple times)")
# Data from a zero lag run in the case of an injection-only run.
parser.add_option("--svd-bank-cache",metavar="filename",help="Set the cache file for svd banks (required iff running injection-only analysis)")
# NOTE: delete unless we want db metadata. injection db?
parser.add_option("--non-injection-db",metavar="filename",help="Set the non injection data base file (required iff running injection-only analysis)")
parser.add_option("--marginalized-likelihood-file",metavar="filename",help="Set the marginalized likelihood file (required iff running injection-only analysis)")
parser.add_option("--marginalized-likelihood-with-zerolag-file",metavar="filename",help="Set the marginalized likelihood with zerolag file (required iff running injection-only analysis)")
# Condor commands
parser.add_option("--condor-command",action="append",default=[],metavar="command=value",help="set condor commands of the form command=value; can be given multiple times")