{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "d172273f",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-29T09:28:08.883747Z",
"iopub.status.busy": "2024-04-29T09:28:08.883426Z",
"iopub.status.idle": "2024-04-29T09:28:10.479605Z",
"shell.execute_reply": "2024-04-29T09:28:10.478783Z"
}
},
"outputs": [],
"source": [
"import finesse\n",
"finesse.configure(plotting=True)\n",
"\n",
"kat = finesse.Model()\n",
"kat.parse(\n",
" \"\"\"\n",
" # Laser with power 1W\n",
" laser L0 P=1\n",
" s s0 L0.p1 eom1.p1\n",
"\n",
" # Phase modulator at 40kHz, with a modulation index of 0.05\n",
" mod eom1 f=40k midx=.05 order=5 mod_type=pm\n",
"\n",
" # Three amplitude detectors, looking at the first three positive modulation\n",
" # sidebands\n",
" ad bessel1 eom1.p2.o f=40k\n",
" ad bessel2 eom1.p2.o f=80k\n",
" ad bessel3 eom1.p2.o f=120k\n",
"\n",
" # Sweep the modulation index of the modulator from 0 to 10\n",
" xaxis(eom1.midx, lin, 0, 10, 300)\n",
" \"\"\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "56b9c528",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-29T09:28:10.483538Z",
"iopub.status.busy": "2024-04-29T09:28:10.482835Z",
"iopub.status.idle": "2024-04-29T09:28:11.085041Z",
"shell.execute_reply": "2024-04-29T09:28:11.084135Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"