{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "26759eb7",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-05T13:12:05.733523Z",
"iopub.status.busy": "2024-04-05T13:12:05.733231Z",
"iopub.status.idle": "2024-04-05T13:12:07.406941Z",
"shell.execute_reply": "2024-04-05T13:12:07.406229Z"
}
},
"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": "641b01e8",
"metadata": {
"execution": {
"iopub.execute_input": "2024-04-05T13:12:07.411059Z",
"iopub.status.busy": "2024-04-05T13:12:07.410190Z",
"iopub.status.idle": "2024-04-05T13:12:08.400958Z",
"shell.execute_reply": "2024-04-05T13:12:08.400159Z"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"