Commit 9f8bcd7c authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Do not require prior_distance_power argument

It now has a default value of 2.
Original: 6f3b917a5f2d171d9a73d4b77e5fef646b73f14b
parent f236d5ea
......@@ -34,9 +34,6 @@ def ligolw_sky_map(sngl_inspirals, approximant, amplitude_order, phase_order, f_
"""Convenience function to produce a sky map from LIGO-LW rows. Note that
min_distance and max_distance should be in Mpc."""
if method == "toa_snr" and prior_distance_power is None:
raise ValueError("For method='toa_snr', the argument prior_distance_power is required.")
ifos = [sngl_inspiral.ifo for sngl_inspiral in sngl_inspirals]
# Extract masses from the table.
......
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