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_lifin 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)
Metadata
Release files for read-lif 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| read_lif-0.4.0.tar.gz | 23.4 kB | Details |
Release files / read_lif-0.4.0.tar.gz
| Download URL | read_lif-0.4.0.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
518db0df8831062ab10c29e55c90c2d46b4c182fbe822495ac4a60aa84fd23b9
|
|
BLAKE2b-256 checksum How to use checksums |
16b0df4abc5d52735d5040cf2b9a71d19d8a44dbf2b4b03a1bdaad9fda259398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.7
|