Skip to content

Commit

Permalink
Merge pull request #44 from charlesreid1/master
Browse files Browse the repository at this point in the history
Update all example notebooks
  • Loading branch information
danielballan authored Feb 27, 2018
2 parents ff83559 + 4e90d7a commit 10c98f0
Show file tree
Hide file tree
Showing 11 changed files with 1,636 additions and 1,768 deletions.
149 changes: 69 additions & 80 deletions notebooks/custom-feature-detection.ipynb

Large diffs are not rendered by default.

529 changes: 280 additions & 249 deletions notebooks/linking-diagnostics.ipynb

Large diffs are not rendered by default.

124 changes: 56 additions & 68 deletions notebooks/loading-video-frames.ipynb

Large diffs are not rendered by default.

409 changes: 215 additions & 194 deletions notebooks/on-disk.ipynb

Large diffs are not rendered by default.

44 changes: 14 additions & 30 deletions notebooks/parallel-locate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"source": [
"# Parallelized Feature Location using IPython Parallel\n",
"\n",
"Feature-finding can easily be parallelized: each frame an independent task, and the tasks can be divided among the available CPUs. IPython parallel makes this very straightforward.\n",
"Feature-finding can easily be parallelized: each frame an independent task, and the tasks can be divided among the available CPUs. [IPython parallel](https://github.com/ipython/ipyparallel) makes this very straightforward.\n",
"\n",
"## Intsall ipyparallel\n",
"\n",
"As for IPython 4.0 (summer 2015), IPython parallel is a separate package. Install it as follows:\n",
"As of IPython 6.2 (November 2017), IPython parallel is a separate package. Install it as follows:\n",
"```\n",
"pip install ipyparalell\n",
"```\n",
Expand All @@ -26,9 +26,7 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"from ipyparallel import Client\n",
Expand All @@ -46,9 +44,7 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -75,9 +71,7 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"%%px\n",
Expand All @@ -94,9 +88,7 @@
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"import pims\n",
Expand All @@ -118,9 +110,7 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"curried_locate = lambda image: tp.locate(image, 13, invert=True)"
Expand All @@ -129,9 +119,7 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand All @@ -158,17 +146,15 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 32/32 tasks finished after 1 s\n",
"done\n",
"1 loop, best of 3: 1.3 s per loop\n"
"1.83 s ± 47.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
Expand All @@ -182,15 +168,13 @@
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"1 loop, best of 3: 3.15 s per loop\n"
"3.28 s ± 61.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
Expand All @@ -216,9 +200,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3"
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}
204 changes: 96 additions & 108 deletions notebooks/performance.ipynb

Large diffs are not rendered by default.

91 changes: 33 additions & 58 deletions notebooks/prediction.ipynb

Large diffs are not rendered by default.

73 changes: 37 additions & 36 deletions notebooks/subnets.ipynb

Large diffs are not rendered by default.

1,161 changes: 567 additions & 594 deletions notebooks/tracking-3d.ipynb

Large diffs are not rendered by default.

47 changes: 16 additions & 31 deletions notebooks/uncertainty.ipynb

Large diffs are not rendered by default.

573 changes: 253 additions & 320 deletions notebooks/walkthrough.ipynb

Large diffs are not rendered by default.

0 comments on commit 10c98f0

Please sign in to comment.