Skip to content
Snippets Groups Projects
Commit 82915c85 authored by Jameson Rollins's avatar Jameson Rollins
Browse files

cli: use title from plot_style if available

parent 6ef34a26
No related branches found
No related tags found
No related merge requests found
......@@ -176,12 +176,6 @@ def main():
print(fmt.format(k, v, ov))
return
if args.title:
plot_style['title'] = args.title
elif Budget:
plot_style['title'] = "GWINC Noise Budget: {}".format(Budget.name)
else:
plot_style['title'] = "GWINC Noise Budget: {}".format(args.IFO)
if args.plot:
if args.save:
......@@ -230,6 +224,15 @@ def main():
# logger.info('arm finesse: {: >0.3f}'.format(ifo.gwinc.finesse))
# logger.info('arm power: {: >0.3f} kW'.format(ifo.gwinc.parm/1000))
if args.title:
plot_style['title'] = args.title
elif 'title' in plot_style:
pass
elif Budget:
plot_style['title'] = "GWINC Noise Budget: {}".format(Budget.name)
else:
plot_style['title'] = "GWINC Noise Budget: {}".format(args.IFO)
if args.fom:
logger.info("calculating inspiral {}...".format(range_func))
H = inspiral_range.CBCWaveform(freq, **range_params)
......
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