A simple tool to extract ND2 files to Zarr, PNG, or TIFF
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nd2_extractor-0.1.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file nd2_extractor-0.1.0.tar.gz
.
File metadata
- Download URL: nd2_extractor-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f65bd45e3caea2ef22c4fa2ec5e19d6b2095dd2c88b3312da07ec63fb5444b9 |
|
MD5 | 3e5d681ab09520afbdb8bf3c9779d948 |
|
BLAKE2b-256 | 322a62e9dbb27e2b85763d270d36d00b3102cbab20c08542754b52efadf9bd6f |
File details
Details for the file nd2_extractor-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nd2_extractor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b70cacca29934a6a7f45fe966158fc971dd21e5ed5ffea35e0b01bdf52e22f |
|
MD5 | 13755543f54e2f0d0b78a50245b0a9c4 |
|
BLAKE2b-256 | cf870361d8aff5c7656af7de03312c622117ce3634844035044a673869fefbb0 |