No project description provided
Project description
suitcase.tiff
This is a suitcase subpackage for reading a particular file format.
Installation
pip install suitcase-tiff
Quick Start
suitcase-tiff
supports stack and series methods.
Using a stack of tiff images (multiple tiff frames in a single file):
import suitcase.tiff_stack
docs = db[-1].documents(fill=True)
suitcase.tiff_stack.export(docs, 'my_exported_files/')
The exported file will be saved as
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img.tiff
Using a series of tiff images (one frame per file)
import suitcase.tiff_series
docs = db[-1].documents(fill=True)
suitcase.tiff_series.export(docs, 'my_exported_files/')
Instead of one file, the exporter creates a separate file per row:
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-0.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-1.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-2.tiff
my_exported_files/c416e70a-eb99-4964-bfc0-64e291313cce-primary-spot_img-3.tiff
...
The file prefix c416e70a-eb99-4964-bfc0-64e291313cce
is the unique ID of the
run. The default file prefix can be changed with the file_prefix
keyword
argument. See the documentation link below.
Documentation
See the suitcase documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
suitcase-tiff-0.3.0.tar.gz
(32.4 kB
view hashes)
Built Distribution
Close
Hashes for suitcase_tiff-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9158b28758e41c3861500cbe1cc55bba9658d62204c676b019a4c708dde2e17 |
|
MD5 | 9627e2e7e1c1de147ae98f213e6d969f |
|
BLAKE2b-256 | 4324294beb61d77fd08152357f0e729d13057aeeb024298be0cfadb251fc081d |