Skip to content

Commit

Permalink
docs: compare correct SNR's in pober14 test
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Jul 14, 2023
1 parent e781fe4 commit 120c53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/reproducing_pober_2014.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@
},
{
"cell_type": "code",
"execution_count": 46,
"execution_count": 70,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -693,7 +693,7 @@
"if not np.all(np.sign(np.diff(snr_mod_pober14))==np.sign(np.diff(snr_mod[:len(snr_mod_pober14)]))):\n",
" raise ValueError(\"moderate case has different shape to Pober+14\")\n",
"\n",
"if not np.all(np.sign(np.diff(snr_opt_pober14))==np.sign(np.diff(snr_opt[1:len(snr_opt_pober14)+1]))):\n",
"if not np.all(np.sign(np.diff(snr_opt_pober14[1:]))==np.sign(np.diff(snr_opt[1:len(snr_opt_pober14)]))):\n",
" raise ValueError(\"optimistic case has different shape to Pober+14\")\n",
"\n"
]
Expand Down

0 comments on commit 120c53f

Please sign in to comment.