From eded05100492fe3dca0ba61af346a90d79e1cf2e Mon Sep 17 00:00:00 2001 From: Jashcraf Date: Thu, 11 Jul 2024 12:25:48 -1000 Subject: [PATCH] try to fix kernel error on docs, remove extraneous packages in requirements.txt --- docs/notebooks/DemoAgilisMotion.ipynb | 16 +++++----------- docs/requirements.txt | 4 ---- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/docs/notebooks/DemoAgilisMotion.ipynb b/docs/notebooks/DemoAgilisMotion.ipynb index f604647..6b6f3f7 100644 --- a/docs/notebooks/DemoAgilisMotion.ipynb +++ b/docs/notebooks/DemoAgilisMotion.ipynb @@ -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", + "```" ] }, { diff --git a/docs/requirements.txt b/docs/requirements.txt index d67fdc6..a93b11a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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