Commit c1eb54ed authored by Gregory Ashton's avatar Gregory Ashton

Merge branch '386-change-interpolation-order-for-distance-marginalisation' into 'master'

Resolve "Change interpolation order for distance marginalisation"

Closes #386

See merge request !552
parents 122edcb0 006cec0a
Pipeline #69258 passed with stages
in 7 minutes and 13 seconds
......@@ -572,17 +572,13 @@ class GravitationalWaveTransient(likelihood.Likelihood):
self._interp_dist_margd_loglikelihood = UnsortedInterp2d(
self._d_inner_h_ref_array, self._optimal_snr_squared_ref_array,
self._dist_margd_loglikelihood_array, kind='cubic')
def cached_lookup_table_filename(self):
if self._lookup_table_filename is None:
dmin = self._distance_array[0]
dmax = self._distance_array[-1]
n = len(self._distance_array)
self._lookup_table_filename = (
.format(dmin, dmax, n))
return self._lookup_table_filename
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