unparser: fails when using frequency_response
Summary
Unparsing a model including the frequency_response
action fails with a blank AssertionError.
MWE
import finesse
import finesse.virgo
finesse.init_plotting()
virgo = finesse.virgo.Virgo()
virgo.make(dc_lock=False)
virgo.model.fsig.f = 1
virgo.model.parse(f"""
frequency_response(geomspace(10,10e3,200),[CARM,DARM],[B1.DC])
""")
print(virgo.model.unparse())
resulting output:Unparse_frequency_response_output.txt
desired behaviour
- be able to unparse models with
frequency_response
(any all other actions - including user generated - , assuming that this is the issue) - if it fails, produce a more informative error
- bonus: add an option to suppress all the 'not implemented' warnings - these still show up even when the cell is set up to ignore them