Metadata-Version: 2.1
Name: pco-image
Version: 0.2.0
Summary: Tool to read and extract meta data from pco images
Home-page: https://github.com/matthiasprobst/pco_image
Author: Matthias Probst
Author-email: matth.probst@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE

# 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 but should work for other PCO cameras, too

## Example

````python
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.index}')
print(f'image timestamp: {pco_img.timestamp}')

````

## Installation

```bash
pip install pco_image
```
