Skip to content

Commit a2e39c0

Browse files
authored
Merge pull request #120 from nanograv/lb_tiny_bugfix
minor bugfix to add missing factor of 1/dlnf in definition of loud so…
2 parents 1929113 + c53e1f7 commit a2e39c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

holodeck/gravwaves.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def _gws_harmonics_at_evo_fobs(fobs_gw, dlnf, evo, harm_range, nreals, box_vol,
273273

274274
if np.any(num_pois > 0):
275275
# Find the L loudest binaries in each realizations
276-
loud = np.sort(temp[:, np.newaxis] * (num_pois > 0), axis=0)[::-1, :]
276+
loud = np.sort(temp[:, np.newaxis] * (num_pois > 0) / dlnf, axis=0)[::-1, :]
277277
fore = loud[0, :]
278278
loud = loud[:loudest, :]
279279
else:

0 commit comments

Comments
 (0)