... | ... | @@ -188,4 +188,4 @@ The function calls are timed for 5000 iterations using PyInstrument to determine |
|
|
|
|
|
In `frequency_domain_strain`, `lal_binary_black_hole` is replaced with `binary_black_hole_roq`, which gives a 3.8x speedup. However, calculating the SNRs in `calculate_snrs` is only 1.4x faster. This limits the speedup, since `calculate_snrs` accounts for over twice as much time as `frequency_domain_strain`.
|
|
|
|
|
|
The majority of this time is spent initialising and calling SciPy's `interp1d`. |
|
|
\ No newline at end of file |
|
|
The majority of this time is spent initialising and calling SciPy's `interp1d`. Cubic splines are used for calibration, has a cost comparable to computing the waveform itself. Disabling calibration results in a much faster run time. |
|
|
\ No newline at end of file |