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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suitcase-tiff-0.4.0.tar.gz.
File metadata
- Download URL: suitcase-tiff-0.4.0.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c4083f38e7a17c95f208637be151af69deff8ed8097409f89933288e0c2743f
|
|
| MD5 |
1fd2de92b4e2cbd02e8a39933dd9a805
|
|
| BLAKE2b-256 |
0293d87bf557719f61ffcb15bff2027320cf57399d0bdf0090b31045f33c65fa
|
File details
Details for the file suitcase_tiff-0.4.0-py3-none-any.whl.
File metadata
- Download URL: suitcase_tiff-0.4.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a056c95482d18e7a2bcce5df0df1450971724ec0bdb363c3f9403044cf5e05
|
|
| MD5 |
bf8aa819d8f6710399a43619ee7f082c
|
|
| BLAKE2b-256 |
340a6001daaf0811a6a873c50e07565a08620101838efc97970e77f34d3d6ae2
|