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 0860a07d authored by Phil Jones's avatar Phil Jones

Format finesse 3 output to match yaxis command.

parent 0984d25d
......@@ -104,7 +104,12 @@ def runkat(katfile):
data = []
for name, el in ifo.model.elements.items():
if isinstance(el, finesse.detectors.Detector):
data.append(np.array(out[name]).flatten())
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)
data.append(d)
outfile.extend(data)
katdir=path.dirname(katfile)
......
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