Skip to content

Commit

Permalink
try to fix kernel error on docs, remove extraneous packages in requir…
Browse files Browse the repository at this point in the history
…ements.txt
  • Loading branch information
Jashcraf committed Jul 11, 2024
1 parent d2d2039 commit eded051
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
16 changes: 5 additions & 11 deletions docs/notebooks/DemoAgilisMotion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@
"\n",
"Gromit currently uses the [Agilis series Piezo Rotation Stages](https://www.newport.com/p/AG-PR100), which operate using a serial communication protocol, which are shown in this [instruction manual](https://www.newport.com/mam/celum/celum_assets/np/resources/Agilis_Piezo_Motor_Driven_Components_User_Manual.pdf?0).\n",
"\n",
"To provide users with a more Pythonic interface than sending bytestrings to the controllers, we created the `AgilisRotationStage` class in `katsu.motion`, whose methods wrap these bytestrings. They are initialized by specifying the channel, axis, and port the device is on."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from katsu.motion import AgilisRotationStage\n",
"To provide users with a more Pythonic interface than sending bytestrings to the controllers, we created the `AgilisRotationStage` class in `katsu.motion`, whose methods wrap these bytestrings. They are initialized by specifying the channel, axis, and port the device is on.\n",
"\n",
"stage1 = AgilisRotationStage(channel=1, axis=1, port='COM1')"
"```python\n",
"from katsu.motion import AgilisRotationStage\n",
"stage1 = AgilisRotationStage(channel=1, axis=1, port='COM1')\n",
"```"
]
},
{
Expand Down
4 changes: 0 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
numpy>=1.23.5
matplotlib>=3.6.2
numexpr>=2.8.4
msgpack>=1.0.5
msgpack-numpy>=0.4.8
tox>=3.24.3
pytest>=6.2.5
pytest-cov>=2.12.1
Expand Down

0 comments on commit eded051

Please sign in to comment.