Commit c7c0f980 authored by Marc Arene's avatar Marc Arene
Browse files

start_time and duration for 64sec

parent 62b55520
......@@ -223,14 +223,14 @@ def compute_extended_analysis_dict(mass_1, mass_2, geocent_time, chirp_mass, **a
sampling_frequency = 2 * maximum_frequency_ifo
# duration = 64
duration = int(tc_3p5PN) + 1 + t_end_minus_tc # formula for 59 sec
# duration = next_power_of_two(tc_3p5PN + t_end_minus_tc) # formula for 64 sec
# duration = int(tc_3p5PN) + 1 + t_end_minus_tc # formula for 59 sec
duration = next_power_of_two(tc_3p5PN + t_end_minus_tc) # formula for 64 sec
# Use an integer because frame files have an integer start_time
# hence when extracting a subpart of it, the index will be exact
# start_time = geocent_time + t_end_minus_tc - duration # new formula which should be used
start_time = geocent_time - tc_3p5PN # formula used for reruns of chap 8
start_time = geocent_time + t_end_minus_tc - duration # new formula which should be used
# start_time = geocent_time - tc_3p5PN # formula used for reruns of chap 8
# start_time = int(geocent_time - tc_3p5PN)
# if duration is None:
# duration = int(geocent_time - start_time) + 1 + 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment