Skip to content
Snippets Groups Projects
Commit 9ff8792a authored by Chad Hanna's avatar Chad Hanna
Browse files

templates.py: use imrchirptime to define the chirp length in order to be safe...

templates.py: use imrchirptime to define the chirp length in order to be safe for imr waveforms, NOTE this will probably mean that there is effectively a bit more frequency padding per slice for the non imr waveforms, which shouldn't be a bad thing
parent db7c2a9d
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ def time_slices(
# second factor of two gives you the lower boundary since we
# know all slices are powers of 2.
this_flow = max( float(rate)/(4*padding), flow )
longest_chirp = max(spawaveform.chirptime(row.mass1,row.mass2,7,this_flow,fhigh,row.chi) for row in sngl_inspiral_rows)
longest_chirp = max(spawaveform.imrchirptime(row.mass1,row.mass2,this_flow,row.chi) for row in sngl_inspiral_rows)
# Do any of the templates go beyond the accumulated time?
# If so, we need to add some blocks at this sampling rate.
......
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