Skip to content

Commit

Permalink
Add warning about medical use to Voici demo
Browse files Browse the repository at this point in the history
  • Loading branch information
chaasjes committed Apr 4, 2024
1 parent 2875cc0 commit 4409be8
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 73 deletions.
50 changes: 37 additions & 13 deletions examples/calculate_ocular_magnification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 8,
"metadata": {
"ExecuteTime": {
"end_time": "2024-01-03T12:37:21.189928300Z",
Expand All @@ -125,23 +125,23 @@
"outputs": [],
"source": [
"phakic_geometry = {\n",
" \"R_corF\": -7.72e-3, # front corneal curvature\n",
" \"R_corB\": -6.50e-3, # rear corneal curvature\n",
" \"R_corF\": -7.799e-3, # front corneal curvature\n",
" \"R_corB\": -6.317e-3, # rear corneal curvature\n",
" \"R_lensF\": -10.20e-3, # front lens curvature\n",
" \"R_lensB\": +6.00e-3, # rear lens curvature\n",
" \"D_cor\": 0.55e-3, # corneal thickness\n",
" \"D_ACD\": 3.05e-3, # anterior chamber depth\n",
" \"D_lens\": 4.00e-3, # lens thickness\n",
" \"D_vitr\": 16.3203e-3, # vitreous chamber depth\n",
" \"SE\": 0, # spherical equivalent of refraction\n",
" \"D_cor\": 0.592e-3, # corneal thickness\n",
" \"D_ACD\": 2.71e-3, # anterior chamber depth\n",
" \"D_lens\": 4.69e-3, # lens thickness\n",
" \"D_vitr\": 15.428e-3, # vitreous chamber depth\n",
" \"SE\": -0.25, # spherical equivalent of refraction\n",
"}\n",
"\n",
"iol_thickness = 1e-3\n",
"\n",
"iol_geometry = {\n",
" \"R_corF\": -7.72e-3,\n",
" \"R_corB\": -6.50e-3,\n",
" \"R_lensF\": -8.16e-3, \n",
" \"R_lensF\": -8.16e-3,\n",
" \"R_lensB\": +11.18e-3,\n",
" \"D_cor\": 0.55e-3,\n",
" \"D_ACD\": 3.05e-3,\n",
Expand Down Expand Up @@ -182,7 +182,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 9,
"metadata": {
"ExecuteTime": {
"end_time": "2024-01-03T12:37:21.432213100Z",
Expand Down Expand Up @@ -296,7 +296,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 10,
"metadata": {
"ExecuteTime": {
"end_time": "2024-01-03T12:37:22.014486100Z",
Expand All @@ -314,8 +314,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Magnification phakic eye model : 1.60\n",
"Necessary correction at camera phakic : 0.00 D\n",
"Magnification phakic eye model : 1.69\n",
"Necessary correction at camera phakic : -0.25 D\n",
"Eye model : phakic\n"
]
}
Expand All @@ -330,6 +330,30 @@
"print(phakic_magnification_data)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAMYAAAAQCAYAAABN/ABvAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8g+/7EAAAACXBIWXMAABJ0AAASdAHeZh94AAAHAUlEQVR4nO2afcyXVRnHPw88ivmSpam0MlRKBd+wOXQRKqEogTZiqHMguPk2Y4jQ0OHo4ttmykwSLQ3UQUWrOTVJRUWFRb6y4dh0qDCUUFIRUwMBUaQ/rnPg/t3c9+93v/xq/fF8t9/O85yX6/qe67xd1zl3x86dO+lCF7rQiM5mhZJGA38I/15uZvdUVVRWVtH6koYB1wB9gYOBd4DlwEwzez6j/lqgV47a98ysZ5t4fRP4OXBugtdDgMzsw2Y6iuiRNA6Y20LMF2bWvQ4vSR3AZeF3HNABvArcA8wxsy/q9iXUWUvBcZF0MDACGAacAHwD2A68jNtkbppXWXvlLgxJhwO/BjYD+7cQ2BRlZRWtL2kGMAX4AB/cjcC3gR8BIyVdYmbzM5p+DNyWkb+5Tbx6A88BhwILgNeA/vgCPlfSADP7oKaeFYByygYCPwAeawOv+cDFwAbgT8AW4GzgLuB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+8DY8FsddG0KVTcEDm2bRwk0jEsWJI0HZgErgUHBzW6KVvaKJ8b+7PYtt0mZ1713S7obD6YmNtFZSha+E1TRPTykS9KVzWyLpGX4AjmZ7OAxjfdDGm9lqtrk9ZAendUA+E5Io6/fLtvnBd0RZXkBYGaf4RvQjGS+pH1Cm41m9mbIbuc8ikiPSwMkTQR+hZ8wg3Pc5yw0tVdcGJ8C9+YI+C4+uZ7BjdvqeCwrq6ruHiHNu5KN+dtb8I2ItzFxEVXlFRfqEEndUvfsBwAD8EeyF2rq2YUwScfgQWSerLK8WuEiYG/80S+infMoIj0uuyDpOjyuWAGcnbxSboYi9uoECAHSZTlCpuMd+l3GZwm9gb2ANWFnqSqrtG7g7/gd+hWSZpvZ+kS7ofhAb8NfemN+H2CdmTXcqUs6Ao9RIDwIVrWJma2RtAh/M/gJcEeyKb7zzY4cqupJYRQeAD+SEXRX4pXg8GUz+3cqrx9wC/AhPjGjjqrzqPC4JMqm4Q+4y4EhRdynBFraq+m3UgXwNP7QdiT+cPS/xP34O8VZwKuS/oIH331wN6sDuD71icOFeNyxFPgH7iP3xr+52Qf3NX/ZBm5X4wvydkmD8W+LTsXfElYBN7RBRxLRLUi/dLeD15OStuKuyibcvsOArcB5ZvbP+vTLjYuksfii2IFvkBMy3La1ZjYvR19Le+W9fP/fI7gCP8Q/ZViJxxOT8aN3IXCOmc1KNVsCPIIb/WJgEnAGfryPBYaHV9263NYApwDz8Ik3OeicBZzW7Dupsgi77ffJD7rr8roffywdjdvrRHxC9TWzv7WnF6XHJb6rdAcm4i/36d+4LEVF7dXR9dl5F7qwJ/4DeL3icWmHVEEAAAAASUVORK5CYII=",
"text/latex": [
"$\\displaystyle 4.44854047094527$"
],
"text/plain": [
"4.44854047094527"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"phakic_eye.geometry[\"R_lensB\"] * 1000"
]
},
{
"cell_type": "code",
"execution_count": 6,
Expand Down
Loading

0 comments on commit 4409be8

Please sign in to comment.