From 6d174b91e68ee881489404a70fa1885bf7d6c5e6 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins <jrollins@finestructure.net> Date: Thu, 13 Feb 2020 08:52:15 -0800 Subject: [PATCH] fix old references to load_ifo --- gwinc/__init__.py | 4 ++-- gwinc/__main__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gwinc/__init__.py b/gwinc/__init__.py index eca881ab..7099de5c 100644 --- a/gwinc/__init__.py +++ b/gwinc/__init__.py @@ -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 diff --git a/gwinc/__main__.py b/gwinc/__main__.py index 71fd7b5d..3c02a241 100644 --- a/gwinc/__main__.py +++ b/gwinc/__main__.py @@ -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: -- GitLab