rl
read-lif
pypi i read-lif
rl

read-lif

load an image from lif file as a numpy array

by Yushi Yang

0.4.0 (see all)
pypi i read-lif
Readme

read_lif

Load 3D confocal images from lif files as 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

import read_lif

reader = read_lif.Reader('lif_file.lif')
series = reader.getSeries()
chosen = series[0]  # choose first image in the lif file
# get a numpy array corresponding to the 1st time point & 1st channel
# the shape is (z, y, x)
image = chosen.getFrame(T=0, channel=0)

GitHub Stars

2

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.4.0
3yrs ago
0.3.1
3yrs ago
0.3.0
3yrs ago
0.2.1
3yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate