{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "83d36812",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-10T13:11:44.923973Z",
"iopub.status.busy": "2024-07-10T13:11:44.923700Z",
"iopub.status.idle": "2024-07-10T13:11:47.240755Z",
"shell.execute_reply": "2024-07-10T13:11:47.239845Z"
}
},
"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",
" # Sweep the frequency of the amplitude modulation\n",
" xaxis(fsig.f, log, 1, 100, 400)\n",
" \"\"\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "cc3b1854",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-10T13:11:47.246251Z",
"iopub.status.busy": "2024-07-10T13:11:47.244740Z",
"iopub.status.idle": "2024-07-10T13:11:48.174239Z",
"shell.execute_reply": "2024-07-10T13:11:48.173420Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"