Setup
pip install nd2-extractor
For notebook use:
jupyter nbextension enable --py widgetsnbextension
Usage
From a notebook:
Then launch nd2_extractor_interactive.ipynb in a Jupyter notebook.
From the command line
$ nd2_extractor --help
usage: nd2_extractor.py [-h] --ND2_directory ND2_DIRECTORY --save_directory SAVE_DIRECTORY --save_type SAVE_TYPE [--workers WORKERS] [--t_stop T_STOP] [--fill_empty]
Extract and ND2 file to TIFF or PNG (zarr coming soon).
optional arguments:
-h, --help show this help message and exit
--ND2_directory ND2_DIRECTORY
The absolute directory of the ND2 file.
--save_directory SAVE_DIRECTORY
The absolute directory of the extraction folder.
--save_type SAVE_TYPE
The file type to save as (PNG/TIFF/zarr).
--workers WORKERS The number of joblib workers to send to the extractor.
--t_stop T_STOP Extract up until this timepoint.
--fill_empty If supplied, will fill empty frames with empty images, or skip saving them. Will be ignored if zarr chosen.
Metadata
Release files for nd2-extractor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nd2_extractor-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nd2_extractor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / nd2_extractor-0.1.0.tar.gz
| Download URL | nd2_extractor-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f65bd45e3caea2ef22c4fa2ec5e19d6b2095dd2c88b3312da07ec63fb5444b9
|
|
BLAKE2b-256 checksum How to use checksums |
322a62e9dbb27e2b85763d270d36d00b3102cbab20c08542754b52efadf9bd6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / nd2_extractor-0.1.0-py3-none-any.whl
| Download URL | nd2_extractor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54b70cacca29934a6a7f45fe966158fc971dd21e5ed5ffea35e0b01bdf52e22f
|
|
BLAKE2b-256 checksum How to use checksums |
cf870361d8aff5c7656af7de03312c622117ce3634844035044a673869fefbb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|