Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A Python module for loading lif file as numpy array

Project description


Load 3D confocal images from lif files as numpy arrays.

The code was originally written by Mathieu Leocmach in package colloids.


  • 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
image = chosen.getFrame(T=0, channel=0)  # image is a numpy array, first time point & first channel

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for read-lif, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size read_lif-0.3.0.tar.gz (23.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page