Skip to content

Commit

Permalink
Merge pull request #136 from analogdevicesinc/tfcollins/notebook-demos
Browse files Browse the repository at this point in the history
Tfcollins/notebook demos
  • Loading branch information
tfcollins authored Jun 22, 2023
2 parents 763fb97 + 773c5dd commit 8b92c7e
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 123 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ test: ## run tests
testp: ## run tests parallel
poetry run nox -rs testsp

testnb: ## run notebook tests
poetry run nox -rs testsnb

coverage: ## run test with coverage enabled
poetry run nox -rs coverage

Expand Down
15 changes: 10 additions & 5 deletions examples/ad9081_rx_max_rate_search.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "7102f21e",
"metadata": {},
Expand All @@ -16,6 +17,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "12d2cd31",
"metadata": {},
Expand All @@ -32,8 +34,9 @@
},
"outputs": [],
"source": [
"!pip install itables pandas\n",
"!pip install -U -i https://test.pypi.org/simple/ pyadi-jif"
"# Install depndencies\n",
"#!pip install itables pandas\n",
"#!pip install -U -i https://test.pypi.org/simple/ pyadi-jif[cplex]"
]
},
{
Expand All @@ -48,9 +51,11 @@
"import adijif as jif\n",
"import numpy as np\n",
"import pandas as pd\n",
"from itables import init_notebook_mode\n",
"init_notebook_mode(all_interactive=True)\n",
"%load_ext google.colab.data_table"
"\n",
"# Uncomment below to see nice tables in notebook\n",
"#from itables import init_notebook_mode\n",
"#init_notebook_mode(all_interactive=True)\n",
"#%load_ext google.colab.data_table"
]
},
{
Expand Down
Loading

0 comments on commit 8b92c7e

Please sign in to comment.