Skip to content

Commit

Permalink
Merge pull request #17 from zoccoler/clean_unnecessary_comments
Browse files Browse the repository at this point in the history
Clean unnecessary comments
  • Loading branch information
zoccoler committed Feb 5, 2020
2 parents cc4da5e + d36fb34 commit c1e22a8
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 147 deletions.
1 change: 0 additions & 1 deletion BSSD.ipynb
Expand Up @@ -155,7 +155,6 @@
" nregions = ROIs_means_corrected.shape[1]\n",
" if np.any(inactive_msk)==None:\n",
" inactive_msk = np.ones_like(time,dtype=bool)\n",
"# for m,t,cnt,idx in zip(ROIs_means_corrected,time,range(len(time)),inactive_msk):\n",
" noise = np.zeros((nregions,))\n",
" for j in range(nregions):\n",
" #Get NOISE POWER\n",
Expand Down
5 changes: 1 addition & 4 deletions Examples/Example_Cell1.ipynb
Expand Up @@ -770,7 +770,7 @@
"ax.axis('off')\n",
"contour = mes.build_contour(mask_list_EP[0])\n",
"ax.imshow(mask_list_EP[0],cmap='gray',alpha=0.3)\n",
"# ax.plot(contour[:,1],contour[:,0],color='yellow',lw=2)"
"ax.plot(contour[:,1],contour[:,0],color='yellow',lw=2)"
]
},
{
Expand Down Expand Up @@ -1471,9 +1471,6 @@
" '''Generates a gray contour from binary masks and extracts the contour'''\n",
" import scipy.ndimage as sm\n",
" import numpy as np\n",
"# import matplotlib.pyplot as plt\n",
"# msk_d = sm.binary_dilation(msk,structure=np.ones((3,3)),iterations=1)\n",
"# msk_contour_gray = msk_d.astype(int) + msk.astype(int)\n",
" from skimage import measure\n",
" contour = measure.find_contours(msk, 0.8, positive_orientation = 'high')\n",
" \n",
Expand Down
3 changes: 0 additions & 3 deletions Examples/Example_Cell2.ipynb
Expand Up @@ -1165,9 +1165,6 @@
" '''Generates a gray contour from binary masks and extracts the contour'''\n",
" import scipy.ndimage as sm\n",
" import numpy as np\n",
"# import matplotlib.pyplot as plt\n",
"# msk_d = sm.binary_dilation(msk,structure=np.ones((3,3)),iterations=1)\n",
"# msk_contour_gray = msk_d.astype(int) + msk.astype(int)\n",
" from skimage import measure\n",
" contour = measure.find_contours(msk, 0.8, positive_orientation = 'high')\n",
" \n",
Expand Down
3 changes: 0 additions & 3 deletions Examples/Example_Cell3.ipynb
Expand Up @@ -1160,9 +1160,6 @@
" '''Generates a gray contour from binary masks and extracts the contour'''\n",
" import scipy.ndimage as sm\n",
" import numpy as np\n",
"# import matplotlib.pyplot as plt\n",
"# msk_d = sm.binary_dilation(msk,structure=np.ones((3,3)),iterations=1)\n",
"# msk_contour_gray = msk_d.astype(int) + msk.astype(int)\n",
" from skimage import measure\n",
" contour = measure.find_contours(msk, 0.8, positive_orientation = 'high')\n",
" \n",
Expand Down
3 changes: 0 additions & 3 deletions Examples/Example_Cell4.ipynb
Expand Up @@ -1160,9 +1160,6 @@
" '''Generates a gray contour from binary masks and extracts the contour'''\n",
" import scipy.ndimage as sm\n",
" import numpy as np\n",
"# import matplotlib.pyplot as plt\n",
"# msk_d = sm.binary_dilation(msk,structure=np.ones((3,3)),iterations=1)\n",
"# msk_contour_gray = msk_d.astype(int) + msk.astype(int)\n",
" from skimage import measure\n",
" contour = measure.find_contours(msk, 0.8, positive_orientation = 'high')\n",
" \n",
Expand Down
3 changes: 0 additions & 3 deletions Examples/Example_Cell5.ipynb
Expand Up @@ -1170,9 +1170,6 @@
" '''Generates a gray contour from binary masks and extracts the contour'''\n",
" import scipy.ndimage as sm\n",
" import numpy as np\n",
"# import matplotlib.pyplot as plt\n",
"# msk_d = sm.binary_dilation(msk,structure=np.ones((3,3)),iterations=1)\n",
"# msk_contour_gray = msk_d.astype(int) + msk.astype(int)\n",
" from skimage import measure\n",
" contour = measure.find_contours(msk, 0.8, positive_orientation = 'high')\n",
" \n",
Expand Down
142 changes: 60 additions & 82 deletions MESS.ipynb

Large diffs are not rendered by default.

90 changes: 42 additions & 48 deletions METROID.ipynb

Large diffs are not rendered by default.

0 comments on commit c1e22a8

Please sign in to comment.