Browse Source

Merge remote-tracking branch 'origin/master'

feature/load_slices
Ruben Verweij 8 years ago
parent
commit
a947149cff
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      README.md

+ 5
- 2
README.md View File

@ -20,11 +20,14 @@ If you don't already have the packages `numpy`, `pims`, `six` and `xmltodict`, t
### ND2s
`nd2reader` follows the [pims](https://github.com/soft-matter/pims) framework. To open a file:
`nd2reader` follows the [pims](https://github.com/soft-matter/pims) framework. To open a file and show the first frame:
```python
from nd2reader import ND2Reader
images = ND2Reader('my_directory/example.nd2')
import matplotlib.pyplot as plt
with ND2Reader('my_directory/example.nd2') as images:
plt.imshow(images[0])
```
After opening the file, all `pims` features are supported. Please refer to the [pims documentation](http://soft-matter.github.io/pims/).


Loading…
Cancel
Save