Commit f0c1aea2 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

permute arguments to noise_calc, for consistency with all other functions

All noise calculation functions in pygwinc take the arguments (freq, ifo)
in that order.  It's annoying that for some reason this one is different.
parent c473b737
Pipeline #29224 passed with stages
in 53 seconds
......@@ -9,7 +9,7 @@ from . import noise
from .plot import plot_noise
def noise_calc(ifo, f):
def noise_calc(f, ifo):
"""Calculate all IFO noises and return as dict
Assumes ifo has already been run through precompIFO().
......@@ -105,7 +105,7 @@ def gwinc(freq, ifoin, source=None, plot=False, PRfixed=True):
#warning(['Thermal lensing limits input power to ' num2str(pbs/prfactor, 3) ' W']);
noises = noise_calc(ifo, freq)
noises = noise_calc(freq, ifo)
#TODO decide if all this below this should remain, since it is already inside of __main__
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment