Skip to content

Commit

Permalink
Adding notebook example changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiranth Siddappa committed Apr 15, 2019
1 parent 81a2c95 commit 68833cd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
7 changes: 0 additions & 7 deletions docs/source/nb_examples/CPX_Multiply.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,6 @@
"ylim(bottom=0)\n",
"xlim([0, 0.2])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
18 changes: 1 addition & 17 deletions docs/source/nb_examples/FrequencyShift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,6 @@
"print(gss[:5])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"assert len(gss) < len(sss)\n",
"for ii in range(len(gss)):\n",
" check_res = fq.x_quant[ii] * sss[ii]\n",
" check_i = int(check_res.real) >> n_bits\n",
" assert gss[ii].real == check_i\n",
" check_q = int(check_res.imag) >> n_bits\n",
" assert gss[ii].imag == check_q"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -178,8 +163,7 @@
"source": [
"Px, ff = psd(gss,2**12, fs)\n",
"plot(ff, 10*np.log10(Px))\n",
"xlim([0, 100e3])\n",
"ylim([-80, 40])"
"xlim([0, 100e3])"
]
},
{
Expand Down
7 changes: 0 additions & 7 deletions docs/source/nb_examples/SignalGenerator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,6 @@
"xlim([15000, 25000])\n",
"ylim([-80, 20])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 68833cd

Please sign in to comment.