Commit 3358062a authored by Aaron Jones's avatar Aaron Jones

Updated docs (getting started/PyKat + Finesse)

parent 2061919d
......@@ -37,10 +37,22 @@ Components now have one or more ports. For example, a mirror would have two opti
.. jupyter-execute::
import finesse
IFO = finesse.Model()
IFO.parse_legacy("m ETM 0.999 1e-05 0.0 n1 n2")
IFO.parse_legacy("s s1 1 input n1")
IFO.parse_legacy("m ITM 0.8 0.2 0.0 n1 n2")
IFO.parse_legacy("s s2 70 n2 n3")
IFO.parse_legacy("m ETM 0.999 1e-05 0.0 n3 n4")
IFO.ETM.nodes
.. seealso:: See :ref:`ports` for more details.
Running a Model
******************
Similar to PyKat, models can be run by calling the `.run()` method on the interferometer object. As before, this produces an output object, which can be plotted.
.. jupyter-execute::
IFO.parse_legacy("xaxis ETM phi lin -95 95 1000")
out = IFO.run()
.. seealso:: See :ref:`simple_example` for more details.
\ No newline at end of file
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