MDA writers for pymmcore-plus
Project description
pymmcore-MDA-writers
This package provides writers for pymmcore-plus. At the time of writing pymmc+ provides hooks for saving images but does not implement any mechanism for saving image (check in https://github.com/tlambert03/pymmcore-plus/pull/29 for updates). Currently provided are:
- A simple multifile tiff writer - can be loaded with
tifffile
- A simple zarr writer - not ome-zarr
pip install pymmcore-mda-writers
(This will require a minimum of pymmcore-plus>=0.4.0 which has not yet been released. You can install a working version with pip install git+https://github.com/tlambert03/pymmcore-plus
)
All you need to add to your script is:
# tiff writer
writer = SimpleMultiFileTiffWriter("data/tiff_writer_example/run")
# zarr writer
writer = ZarrWriter("data/zarr_writer_example/run", img_shape=(512, 512), dtype=np.uint16)
for a complete example see the examples folder.
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
pymmcore_MDA_writers-0.5.0.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for pymmcore_MDA_writers-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6023c3ce9415277f3f70fc044f0458c0e241349bbbac4a96a73f884f093f34a |
|
MD5 | bf61676c9a5e97ded094f6fd6bc9019a |
|
BLAKE2b-256 | eaf12382c81bec6e68f5d3466b1a2909385b3d90211f5a78202d573a7df464bb |
Close
Hashes for pymmcore_MDA_writers-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868b53cd0039d6f3bf649850061beb38138e196493d88a79282881508b0024ed |
|
MD5 | 53bacd848b7e5c6f5a214c5d0d989cde |
|
BLAKE2b-256 | c7160f544775e1cc8079d6e2a3c5b4ee86cc4e968cea64212ebc41cc9f23e742 |