Skip to content

Commit

Permalink
Update notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jan 9, 2015
1 parent b70e0d2 commit d57b1b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions notebooks/Example - usALEX histogram.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:9b41ada29ed52e10690e64445528d86a355a3df42eb43b7c5c6a98b312438163"
"signature": "sha256:9a3ced672cdc06dbe2a9a1dad488edfb625f0d072e48996ed258470026951a56"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -150,7 +150,7 @@
"d = loader.hdf5(fname=full_fname)\n",
"d.add(det_donor_accept=(0, 1), alex_period=4000, D_ON=(2850, 580), A_ON=(900, 2580))\n",
"bpl.plot_alternation_hist(d)\n",
"loader.usalex_apply_period(d)\n",
"loader.alex_apply_period(d)\n",
"d.calc_bg(bg.exp_fit, time_s=1000, tail_min_us=(800, 4000, 1500, 1000, 3000))"
],
"language": "python",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/FRETBursts - us-ALEX smFRET burst analysis.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:8e56c3e8eb46a7e22b4d60d3464c71b68128227e877345e334c4fc9832d97733"
"signature": "sha256:e47c2992a435f1b473c13815a6695fbc93d24d5a37c55f57f97e79bd94007e28"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -1292,8 +1292,8 @@
"cell_type": "code",
"collapsed": false,
"input": [
"ax = dplot(d_high_fret, hist_width, bins=r_[0:10:0.2], color='g')\n",
"dplot(d_low_fret, hist_width, bins=r_[0:10:0.2], ax=ax, color='r')\n",
"ax = dplot(d_high_fret, hist_width, bins=(0, 10, 0.2))\n",
"dplot(d_low_fret, hist_width, bins=(0, 10, 0.2), ax=ax)\n",
"plt.legend(['High-FRET population', 'Low-FRET population'])"
],
"language": "python",
Expand Down

0 comments on commit d57b1b4

Please sign in to comment.