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
Built Distribution
File details
Details for the file suitcase-tiff-0.3.0.tar.gz
.
File metadata
- Download URL: suitcase-tiff-0.3.0.tar.gz
- Upload date:
- Size: 32.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a67fc394a460557bbdcd68de8c2c2a43c3f328191130c631168347544c5fa4 |
|
MD5 | ed930eafb4c9907ede7afbf7621fcd95 |
|
BLAKE2b-256 | 7d98ed733cabc93001d5075c9f503563b7f3b78f56931d34ace95e0b698eadcc |
Provenance
File details
Details for the file suitcase_tiff-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: suitcase_tiff-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9158b28758e41c3861500cbe1cc55bba9658d62204c676b019a4c708dde2e17 |
|
MD5 | 9627e2e7e1c1de147ae98f213e6d969f |
|
BLAKE2b-256 | 4324294beb61d77fd08152357f0e729d13057aeeb024298be0cfadb251fc081d |