testconsts.kat

来自「用matlab做的Frequency domain INterferomEter」· KAT 代码 · 共 59 行

KAT
59
字号
#-----------------------------------------------------------------------# testconsts.kat , example file for FinesseTools# #-----------------------------------------------------------------------# The interferometer :#						     # Fabry-Perot Cavity                                    #                                                        #             m1                               m2        #            .-.                               .-.      #            | |      . . . . . . . . . .      | |        # --->   n1  | |  n2  .      s1         .  n3  | |  n4 ---->#            | |      . . . . . . . . . .      | |        #            | |                               | |        #            `-'                               `-'        #----------------------------------------------------------------------%%% FTblock cavitym m1 $Rm1 $Tm1 0 n1 n2 s s1 $Ls1 n2 n3        m m2 $Rm2 $Tm2 0 n3 n4 %%% FTend%%% FTblock constantsconst Rm1 0.9const Tm1 0.1const Rm2 0.8const Tm2 0.2const Ls1 1200%%% FTend%%% FTblock laserl i1 1 0 n1                        # input light i1 with amp=1, f=0%%% FTend%%% FTblock maxtemmaxtem 2gauss g1 m1 n2 0.2 1%%% FTend%%% FTblock detectionpd tr n4                        # amplitude detector ad1 with f=0set pdout tr abs%%% FTend%%% FTblock xaxis# dummy xaxis command, will not be executed but# needs to be present for the pre-processing of the filexaxis m1 phi lin 1 2 10func test1 = 1 + $x1func test2 = 1 + $mx2%%% FTend#debug

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?