#!/usr/bin/env python # coding: utf-8 # In[1]: import finesse finesse.configure(plotting=True) kat = finesse.Model() kat.parse( """ l l1 P=1 s s1 l1.p1 bs1.p4 L=1 sq sq1 db=10 s s2 sq1.p1 bs1.p1 bs bs1 R=0.5 L=0 alpha=45 # Set a signal frequency to activate the signal simulation # (needed for squeezing effects to be observed) fsig(1) # Output the pure shot noise along with the qnoised detector # measuring the effects of the squeezing qnoised sqzd_noise bs1.p2.o qshot shot_noise bs1.p2.o xaxis(l1.phase, lin, -90, 90, 360) """ ) # In[2]: out = kat.run() out.plot(separate=False);