Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 26 May 2020 starting at approximately 10am CDT. It is expected to take around 30 minutes and will involve a short period of downtime, around 5 minutes, towards the end of the maintenance period. Please address any questions, comments, or concerns to uwm-help@cgca.uwm.edu.

Commit 19fff5f5 authored by Phil Jones's avatar Phil Jones

Correct finesse3 yaxis formatting.

parent d091aec5
......@@ -105,10 +105,11 @@ def runkat(katfile):
for name, el in ifo.model.elements.items():
if isinstance(el, finesse.detectors.Detector):
d = np.array(out[name]).flatten()
if ifo.model.yaxis["axes"] == "abs":
d = np.abs(d)
elif ifo.model.yaxis["axes"] == "deg":
d = np.angle(d, deg=True)
if ifo.model.yaxis is not None:
if ifo.model.yaxis["axes"] == "abs":
d = np.abs(d)
elif ifo.model.yaxis["axes"] == "deg":
d = np.angle(d, deg=True)
data.append(d)
outfile.extend(data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment