Revised and runs on eos without errors

This commit is contained in:
jlpoole 2026-04-28 13:49:51 -07:00
commit 9163a51fe3

View file

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 49, "execution_count": 14,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -24,7 +24,7 @@
"print(\"backend = \",plt.get_backend()) #prints \"widget\"\n", "print(\"backend = \",plt.get_backend()) #prints \"widget\"\n",
"\n", "\n",
"from matplotlib.animation import FuncAnimation\n", "from matplotlib.animation import FuncAnimation\n",
"import datetime\n", "from datetime import datetime\n",
"import matplotlib.dates as mdates\n", "import matplotlib.dates as mdates\n",
"from collections import deque\n", "from collections import deque\n",
"import numpy as np\n", "import numpy as np\n",
@ -47,20 +47,20 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 15,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"Sample time: 2026-04-28 12:59:10\n", "Sample time: 2026-04-28 13:48:11\n",
"Opened /dev/ttytDAN\n", "Opened /dev/ttytDAN\n",
"[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -159.0, 278.0, 465.0]\n", "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -176.0, 312.0, 424.0]\n",
"[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -160.0, 281.0, 446.0]\n", "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -180.0, 298.0, 441.0]\n",
"[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -156.0, 281.0, 447.0]\n", "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -175.0, 299.0, 437.0]\n",
"[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -160.0, 281.0, 454.0]\n", "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -180.0, 304.0, 458.0]\n",
"[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -158.0, 281.0, 455.0]\n" "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -182.0, 300.0, 427.0]\n"
] ]
} }
], ],
@ -114,7 +114,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 16,
"metadata": { "metadata": {
"scrolled": true "scrolled": true
}, },
@ -125,14 +125,14 @@
"text": [ "text": [
"After closing port and before starting.\n", "After closing port and before starting.\n",
"HOSTNAME: eos , PORT: /dev/ttytDAN\n", "HOSTNAME: eos , PORT: /dev/ttytDAN\n",
"Plotting time start: 2026-04-28 13:01:52\n", "Plotting time start: 2026-04-28 13:48:19\n",
"Before show()\n" "Before show()\n"
] ]
}, },
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "c9a046b15cfb46d7be8087b1d6be51ce", "model_id": "18d570ab556e4834892b65fe6d786a64",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
@ -158,7 +158,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"Plotting time stopped (by user click or limit): 2026-04-28 13:01:52\n", "Plotting time stopped (by user click or limit): 2026-04-28 13:48:19\n",
"After show()\n", "After show()\n",
"After for i loop\n" "After for i loop\n"
] ]