A Python module for loading lif file as numpy array
Project description
read_lif
Load image from lif files to numpy
arrays.
The code was originally written by Mathieu Leocmach in package colloids
Install
- The most convenient way would be:
pip install read_lif
- You can also Include the file
read_lif
in your project directory
How to Use It
reader = read_lif.Reader('lif_file.lif')
series = reader.getSeries()
chosen = series[0] # choose first image in the lif file
image = chosen.getFrame() # image is a numpy array
For better description, see notebooks/tutorial.ipynb
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
read_lif-0.2.0.tar.gz
(20.9 kB
view hashes)