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

fix old references to load_ifo

parent 726dbcc7
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,8 @@ def gwinc(freq, ifo, source=None, plot=False, PRfixed=True):
"""Calculate strain noise budget for a specified interferometer model.
Argument `freq` is the frequency array for which the noises will
be calculated, and `ifoin` is the IFO model (see the `load_ifo()`
function).
be calculated, and `ifo` is the IFO model (see the `load_budget()`
function). The nominal 'aLIGO' budget structure will be used.
If `source` structure provided, so evaluates the sensitivity of
the detector to several potential gravitational wave
......
......@@ -117,8 +117,8 @@ def main():
if not ifo:
parser.exit(2, "no IFO structure available.")
fmt = '{:30} {:>20} {:>20}'
Budget = load_ifo(args.diff)
diffs = ifo.diff(ifoo)
Budget = load_budget(args.diff)
diffs = ifo.diff(Budget.ifo)
if diffs:
print(fmt.format('', args.IFO, args.diff))
for p in diffs:
......
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