Skip to content
Snippets Groups Projects
Commit 59a65943 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

log calculated range in cli

parent ec88c241
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,9 @@ def main():
if args.fom:
logging.info("calculating inspiral range...")
logging.debug("params: {}".format(range_params))
fom = range_func(freq, noises['Total'], **range_params)
logging.info("{}({}) = {} Mpc".format(ffunc, fargs, fom))
fom_title = '{func} {m1}/{m2}: {fom:.3f} Mpc'.format(
func=range_func.__name__,
m1=range_params['m1'],
......
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