No axes set when legacy parsing ccd detector
The example file:
code ="""
l l1 1 0 0 ni
gauss g1 l1 ni 1m 0
s s1 10 ni n1
maxtem 1
tem l1 0 0 0 0
tem l1 1 0 1 0
beam ccd 0 n1
yaxis re:im
xaxis ccd x lin -3 3 2
"""
model = finesse.parse(code, True)
ifo = model.model
out = model.run()
out.axes
prints 0. If the axis acts on a different component the output is 1. This makes it difficult to automatically test finesse 2 versus finesse 3 files.
I assume this comes from the new defination of ccd-like detectors, but maybe can be fixed anyway?