"1. build the Finesse file from scratch - don't just use a aLIGO model; no need to include the IMC or the RC folding mirrors yet (i.e. no PR2, PR3, SR2, SR3). No OMC. No ETMs.\n",
"1. input all the modulation parameters and cavity lengths\n",
"1. do some DC scans of cavity lengths to make sure that the initial parameters are right\n",
"1. design the feedback loops such that the loop gain requirements are met, and that the cross coupling is low enough, and that the loop stability is 'good enough'"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"** Optical layout with nodes (to be inserted)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" ..-\n",
" PyKat 1.1.269 _ '(\n",
" \\`.|\\.__...-\"\"\"\"-_.\" )\n",
" ..+-----.._ / ' ` .-'\n",
" . ' `: 7/* _/._\\ \\ (\n",
" ( '::;;+;;: `-\"' =\" /,`\"\" `) /\n",
" L. \\`:::a:f c_/ n_'\n",
" ..`--...___`. . ,\n",
" `^-....____: +. www.gwoptics.org/pykat\n",
"\n"
]
}
],
"source": [
"from pykat import finesse # import the whole pykat.finesse package\n",
"from pykat.commands import * # import all packages in pykat.commands\n",
"import numpy as np # for basic math/sci/array functions\n",
"import matplotlib.pyplot as plt # for plotting\n",
"import scipy # for analysing the plots\n",
"\n",
"# tell the notebook to automatically show plots inline below each cell\n",
"%matplotlib inline \n",
"# use pykat's plotting style. change dpi to change plot sizes on your screen\n",
"pykat.init_pykat_plotting(dpi=72)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"## Raw design file for IFO without IMC and folding mirror in RCs \n",
"## Mirror specs, modulation parameters and cavity lengths referenced from aligo finesse base code dt. 19 May 2020\n",
"## Same naming conventions from aligo basecode followed for components and nodes\n",
"#initialise Finesse with a new empty kat object\n",
"basekat = finesse.kat() \n",
"#tell Finesse to talk less\n",
"basekat.verbose = False\n",
"#parse the Finesse code into PyKat\n",
"basekat.parse(basecode)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.9"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
%% Cell type:markdown id: tags:
##Tasks
1. build the Finesse file from scratch - don't just use a aLIGO model; no need to include the IMC or the RC folding mirrors yet (i.e. no PR2, PR3, SR2, SR3). No OMC. No ETMs.
1. input all the modulation parameters and cavity lengths
1. do some DC scans of cavity lengths to make sure that the initial parameters are right
1. design the feedback loops such that the loop gain requirements are met, and that the cross coupling is low enough, and that the loop stability is 'good enough'
%% Cell type:markdown id: tags:
** Optical layout with nodes (to be inserted)
%% Cell type:code id: tags:
``` python
frompykatimportfinesse# import the whole pykat.finesse package
frompykat.commandsimport*# import all packages in pykat.commands
importnumpyasnp# for basic math/sci/array functions
importmatplotlib.pyplotasplt# for plotting
importscipy# for analysing the plots
# tell the notebook to automatically show plots inline below each cell
%matplotlibinline
# use pykat's plotting style. change dpi to change plot sizes on your screen
pykat.init_pykat_plotting(dpi=72)
```
%% Output
..-
PyKat 1.1.269 _ '(
\`.|\.__...-""""-_." )
..+-----.._ / ' ` .-'
. ' `: 7/* _/._\ \ (
( '::;;+;;: `-"' =" /,`"" `) /
L. \`:::a:f c_/ n_'
..`--...___`. . ,
`^-....____: +. www.gwoptics.org/pykat
%% Cell type:code id: tags:
``` python
## Raw design file for IFO without IMC and folding mirror in RCs
## Mirror specs, modulation parameters and cavity lengths referenced from aligo finesse base code dt. 19 May 2020
## Same naming conventions from aligo basecode followed for components and nodes