{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "717b91ed74cd4828a590a3cf043b894c",
       "version_major": 2,
       "version_minor": 0
      },
      "image/png": "[encoded data, 29264 characters]",
      "text/html": [
       "\n",
       "            <div style=\"display: inline-block;\">\n",
       "                <div class=\"jupyter-widgets widget-label\" style=\"text-align: center;\">\n",
       "                    Figure 0\n",
       "                </div>\n",
       "                <img src='data:image/png;base64,[encoded data, 29264 characters]' width=1100.0/>\n",
       "            </div>\n",
       "        "
      ],
      "text/plain": [
       "Canvas(toolbar=Toolbar(toolitems=[('Home', 'Reset original view', 'home', 'home'), ('Back', 'Back to previous …"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "%matplotlib widget\n",
    "\n",
    "import numpy as np\n",
    "\n",
    "from helper import setup_timeplot, plot_timedomain\n",
    "\n",
    "\n",
    "c_sensor = np.genfromtxt(\"./testdata/input/chirp_disturber.txt\", dtype=int)\n",
    "acc_sensor = np.genfromtxt(\"./testdata/input/disturber.txt\", dtype=int)\n",
    "out = np.genfromtxt(\"./testdata/output/out_simulated.txt\", dtype=int)\n",
    "\n",
    "setup_timeplot()\n",
    "plot_timedomain(c_sensor, acc_sensor, out)\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
