Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNR optimizer option types #4650

Merged
merged 2 commits into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bin/pycbc_optimize_snr
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ from pycbc.live import snr_optimizer


parser = argparse.ArgumentParser(description=__doc__)
pycbc.add_common_pycbc_options(parser)
parser.add_argument('--version', action='version',
version=version.git_verbose_msg)
parser.add_argument('--verbose', action='store_true')
parser.add_argument('--params-file', required=True,
help='Location of the attributes file created by PyCBC '
'Live')
Expand All @@ -45,12 +45,12 @@ parser.add_argument('--psd-files', type=str, nargs='+',
'by PyCBC Live.')
parser.add_argument('--approximant', required=True,
help='Waveform approximant string.')
parser.add_argument('--snr-threshold', default=4.0,
parser.add_argument('--snr-threshold', type=float, default=4.0,
help='If the SNR in ifo X is below this threshold do not '
'consider it part of the coincidence. Not implemented')
parser.add_argument('--chirp-time-f-lower', default=20.,
parser.add_argument('--chirp-time-f-lower', type=float, default=20.,
help='Starting frequency for chirp time window (Hz).')
parser.add_argument('--chirp-time-window', default=2.,
parser.add_argument('--chirp-time-window', type=float, default=2.,
help='Chirp time window (s).')
parser.add_argument('--gracedb-server', metavar='URL',
help='URL of GraceDB server API for uploading events. '
Expand Down
Loading