Metadata-Version: 2.1
Name: issfile
Version: 2022.11.0
Summary: Open ISS files.
Home-page: https://github.com/wimpomp/issfile
Author: Wim Pomp @ Lenstra lab NKI
Author-email: w.pomp@nki.nl
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# issfile
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, (time, x, y, z) = iss.get_carpet(c=1, t=5)
    
        plt.figure()
        plt.imshow(image)
        plt.figure()
        plt.plot(carpet.sum(1))
