Skip to main content

MDA writers for pymmcore-plus

Project description

pymmcore-MDA-writers

License PyPI Python Version Test codecov

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:

  1. A simple multifile tiff writer - can be loaded with tifffile
  2. 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)

Uploaded Source

Built Distribution

pymmcore_MDA_writers-0.5.0-py2.py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page