generated from HugoBlox/theme-documentation
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a466fe2
commit dd37808
Showing
9 changed files
with
101 additions
and
195 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
+++ | ||
title = "My notebook title" | ||
date = "2018-06-01" | ||
author = "firstname lastname" | ||
categories = ["category1", "category2"] | ||
tags = ["tag1", "tag2", "tag3"] | ||
+++ | ||
|
||
|
||
# Post title | ||
|
||
|
||
```python | ||
from skimage import data | ||
import matplotlib.pyplot as plt | ||
import numpy as np | ||
|
||
image = data.cells3d() | ||
|
||
``` | ||
|
||
|
||
```python | ||
print (image.shape) | ||
``` | ||
|
||
(60, 2, 256, 256) | ||
|
||
|
||
|
||
```python | ||
plt.imshow(image[40,1,:,:]) | ||
|
||
``` | ||
|
||
|
||
|
||
|
||
<matplotlib.image.AxesImage at 0x17ace13f0> | ||
|
||
|
||
|
||
|
||
|
||
![png](output_4_1.png) | ||
|
||
|
||
|
||
|
||
```python | ||
nucl_img_all = image[:,1,:,:] | ||
nucl_img_sel = image[25:40,1,:,:] | ||
print(nucl_img.shape) | ||
|
||
mean_nucl_img = np.mean(nucl_img, axis=0) | ||
mean_nucl_sel = np.mean(nucl_img_sel, axis= 0) | ||
``` | ||
|
||
(60, 256, 256) | ||
|
||
|
||
|
||
```python | ||
plt.imshow(mean_nucl_img) | ||
``` | ||
|
||
|
||
|
||
|
||
<matplotlib.image.AxesImage at 0x17a97b880> | ||
|
||
|
||
|
||
|
||
|
||
![png](output_6_1.png) | ||
|
||
|
||
|
||
|
||
```python | ||
plt.imshow(mean_nucl_sel) | ||
``` | ||
|
||
|
||
|
||
|
||
<matplotlib.image.AxesImage at 0x17de4bac0> | ||
|
||
|
||
|
||
|
||
|
||
![png](output_7_1.png) | ||
|
||
|
||
|
||
|
||
```python | ||
|
||
``` |