{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "de96ddc2",
"metadata": {
"execution": {
"iopub.execute_input": "2024-11-14T14:15:34.702179Z",
"iopub.status.busy": "2024-11-14T14:15:34.701895Z",
"iopub.status.idle": "2024-11-14T14:15:37.357444Z",
"shell.execute_reply": "2024-11-14T14:15:37.356837Z"
}
},
"outputs": [],
"source": [
"import finesse\n",
"finesse.configure(plotting=True)\n",
"\n",
"kat = finesse.Model()\n",
"kat.parse(\n",
" \"\"\"\n",
" # Optical setup: laser, space and mirror:\n",
" l l1 P=1\n",
" s s1 l1.p1 m1.p1\n",
" m m1 R=1 T=0\n",
"\n",
" # Define a pendulum for our mirror, with a z-motion resonance at 10Hz\n",
" # and Q factor of 1000\n",
" pendulum sus1 m1.mech mass=1 fz=10 Qz=1000\n",
"\n",
" # Measure the mirror's longitudinal motion\n",
" xd m1_z m1.mech.z\n",
"\n",
" # Set a signal frequency to activate the signal simulation\n",
" # (needed for radiation pressure effects to be observed)\n",
" fsig(1)\n",
"\n",
" # Generate amplitude modulation at the laser\n",
" sgen sig l1.amp\n",
" \"\"\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "909f124c",
"metadata": {
"execution": {
"iopub.execute_input": "2024-11-14T14:15:37.359989Z",
"iopub.status.busy": "2024-11-14T14:15:37.359528Z",
"iopub.status.idle": "2024-11-14T14:15:38.493606Z",
"shell.execute_reply": "2024-11-14T14:15:38.492953Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"