- parallel reading when writing tiffs

- add version argument to distinguish between versions of the .iss-pt file
- update readme
This commit is contained in:
Wim Pomp
2022-10-12 17:15:20 +02:00
parent 40b314d627
commit 13cbcfee92
4 changed files with 100 additions and 33 deletions

View File

@@ -1,2 +1,29 @@
# issfile
LIbrary for opening ISS (iss.com) files and conversion to tiff.
Library for opening [ISS](https://iss.com) files and their conversion to tiff.
## Installation
pip install git+https://github.com/wimpomp/issfile.git
## Converting .iss-pt files to .tiff files
iss2tiff --help
iss2tiff file.iss-pt
this will create file.tiff and file.carpet.tiff containing images and carpets respectively.
Metadata is also saved in the tiffs in the description tag.
## Use as a library
from matplotlib import pyplot as plt
from issfile import IssFile
with IssFile(file) as iss:
image = iss.get_image(c=1, t=5)
carpet = iss.get_carpet(c=1, t=5)
plt.figure()
plt.imshow(image)
plt.figure()
plt.plot(carpet.sum(1))