Skip to content
Snippets Groups Projects
Commit 95f5ebd0 authored by Shio Sakon's avatar Shio Sakon
Browse files

fix bugs and typos

parent f0158374
No related branches found
No related tags found
1 merge request!167Bug fixes and typo fixes
Pipeline #364803 passed with warnings
......@@ -105,8 +105,8 @@ def parse_command_line():
"1. OPTIMALLY_ORIENTED_1MPC - Assumes inclination = 0, distance = 1Mpc. Computes only hp." +
"2. INJ_PARAMS - Computes hp and hc using injections' parameters." +
"3. GENERIC - Computes hp and hc using injections' parameters and can take FD and TD waveforms.")
parser.add_option("--snr-threshold", default = 3.0, type = "float", help = "Set the single detector snr threshold to determine " +
"whether an injection is expected to be found or not, default = 3.0")
parser.add_option("--snr-threshold", default = 5.0, type = "float", help = "Set the network snr threshold to determine " +
"whether an injection is expected to be found or not, default = 5.0")
parser.add_option("--min-frequency", default = 15.0, type = "float", help = "Lower frequency cutoff for SNR calculation, default = 15 Hz.")
parser.add_option("--max-frequency", default = 1500.0, type = "float", help = "Upper frequency cutoff for SNR calculation, default = 1500 Hz.")
parser.add_option("--delta-frequency", default = 1.0, type = "float", help = "Step in frequency for SNR calculation, default = 1 Hz.")
......
......@@ -574,7 +574,7 @@ def is_hopeless_hp(row, paramdict, h1_psd, l1_psd, v1_psd, fph, fch, fpl, fcl, f
rho1_h = lalsimulation.MeasureSNRFD(htilde, h1_psd, row.f_lower, -1.0)
rho1_l = lalsimulation.MeasureSNRFD(htilde, l1_psd, row.f_lower, -1.0)
rho1_v = lalsimulation.MeasureSNRFD(htilde, v1_psd, row.f_lower, -1.0)
#rho1_k = lalsimulation.MeasureSNRFD(htilde, k1_psd, row.f_lower, -1.)
#rho1_k = lalsimulation.MeasureSNRFD(htilde, k1_psd, row.f_lower, -1.0)
rhomin_h = rho1_h / row.eff_dist_h
rhomin_l = rho1_l / row.eff_dist_l
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment