PCO Image
Small python package that can read PCO images and its metadata, especially its image index and time stamp.
For reading the image, the package pco_tools is used.
It is tested for the pco.pixelfly camera (14 bit camera) but should work for other PCO cameras, too. For
16 bit cameras you may disable 2 bit pixel shift in which case get_timestamp(False) is called.
Example
import matplotlib.pyplot as plt
from pco_image import PCOImage
pco_img = PCOImage('image.b16') # not yet loading the image
plt.imshow(pco_img.img) # only now loading the image
print(f'image index: {pco_img.get_index()}')
>>> image index: 1
print(f'image timestamp: {pco_img.get_timestamp()}')
>>> image timestamp: 2023-01-20 18:21:53.096300
# write to other file:
pco_img.write('out.tiff')
Installation
pip install pco_image
Metadata
Release files for pco-image 0.3.0
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 |
|---|---|---|---|---|
| pco_image-0.3.0.tar.gz | 17.5 kB | Without provenance | Details for pco_image-0.3.0.tar.gz |
Release files / pco_image-0.3.0.tar.gz
| Download URL | pco_image-0.3.0.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e5916669f5d75d198bb37a8c4fe9d189b3acceabc04061950253d02c37cb3ec
|
|
BLAKE2b-256 checksum How to use checksums |
2373dd2dd57ff7db35a3fe7dfdd0c84abe614bc3af4459ab365fe152311d9a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.16
|
Security for pco-image 0.3.0
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.