libifcb
An optimised, native Python library for working with IFCB data. Implements lazy-loading wherever possible and maintains open file pointers for speedy access. Returns standard Pillow image objects for further processing.
Example
from libifcb import ROIReader
import json
sample = ROIReader("testdata/D20140117T003426_IFCB014.hdr", "testdata/D20140117T003426_IFCB014.adc", "testdata/D20140117T003426_IFCB014.roi")
print(json.dumps(sample.header, indent=4)) # We can read the header, with cleaned variable names, as a dictionary
for trigger in sample.triggers:
print(json.dumps(trigger.raw, indent=4)) # We can also dump raw trigger data as dictionaries
print(str(len(sample1.rois)) + " ROIs") # How many actual ROIs did we get?
sample.rois[1899].image.save("testout/D20140117T003426_IFCB014_02177.png") # This list only contains valid ROIs - indexes will not match with other software!
sample.rows[2176].image.save("testout/D20140117T003426_IFCB014_02177.tiff") # ADC row indexes start from one, but we start from zero to be pythonic - This will return None types for 0-ROI triggers!
sample.triggers[2102].rois[0].image.save("testout/D20140117T003426_IFCB014_02177.jpeg") # As do trigger indexes, this is trigger #2103
Metadata
Release files for libifcb 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libifcb-0.8.1.tar.gz | 11.1 kB | Without provenance | Details for libifcb-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libifcb-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for libifcb-0.8.1-py3-none-any.whl |
Total release size: 19.6 kB
Release files / libifcb-0.8.1.tar.gz
| Download URL | libifcb-0.8.1.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf6adc9ad0af957d0ac5403f9c02c422672e98e0902999758c4714f1ecd3640b
|
|
BLAKE2b-256 checksum How to use checksums |
e56caa0c2c918c6f40e77567d7c6e1e2166f88223dfe8d618e19784533bf23b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / libifcb-0.8.1-py3-none-any.whl
| Download URL | libifcb-0.8.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7105b206f0cf5b4683257f5367683174204de01098d24941f343c259efb8d53
|
|
BLAKE2b-256 checksum How to use checksums |
61376b381cf112bc4d638ffe7c135e81eb2f971f282d56364a96c5d53a2e73b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for libifcb 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.