Commit 90f32ad9 authored by Marc Arene's avatar Marc Arene
Browse files

duration modif ?

parent 0815628b
......@@ -134,6 +134,7 @@ def compute_extended_analysis_dict(mass_1, mass_2, geocent_time, chirp_mass, **a
m2_min = 1
f_ISCO = Compute_fISCO(R_isco, mass_1, mass_2)
f_ISCO_run = Compute_fISCO(R_isco, m1_min, m2_min)
duration = None
# f_ISCO = Compute_LAL_fISCO(mass_1 * LAL_MSUN_SI, mass_2 * LAL_MSUN_SI)
# f_ISCO_run = Compute_LAL_fISCO(m1_min * LAL_MSUN_SI, m2_min * LAL_MSUN_SI)
if approximant == 'TaylorF2':
......@@ -144,7 +145,7 @@ def compute_extended_analysis_dict(mass_1, mass_2, geocent_time, chirp_mass, **a
# maximum_frequency_ifo = min(4096 * 4, f_high_run)
maximum_frequency_ifo = f_high_run
sampling_frequency = 2 * f_high_run
duration = int(tc_3p5PN) + 1 + 2
# duration = int(tc_3p5PN) + 1 + 2
# reference_frequency = 0
elif approximant == 'IMRPhenomPv2' and roq:
# cf:
......@@ -220,6 +221,8 @@ def compute_extended_analysis_dict(mass_1, mass_2, geocent_time, chirp_mass, **a
# hence when extracting a subpart of it, the index will be exact
start_time = geocent_time - tc_3p5PN
# start_time = int(geocent_time - tc_3p5PN)
# if duration is None:
# duration = int(geocent_time - start_time) + 1 + 2
ext_analysis_dict.update(
minimum_frequency = minimum_frequency,
......
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