Skip to main content

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)

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.4.0.tar.gz (23.4 kB view details)

Uploaded Source

File details

Details for the file read_lif-0.4.0.tar.gz.

File metadata

  • Download URL: read_lif-0.4.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for read_lif-0.4.0.tar.gz
Algorithm Hash digest
SHA256 518db0df8831062ab10c29e55c90c2d46b4c182fbe822495ac4a60aa84fd23b9
MD5 1ccd58e77fb4fad7b92730c4fcdae60f
BLAKE2b-256 16b0df4abc5d52735d5040cf2b9a71d19d8a44dbf2b4b03a1bdaad9fda259398

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 file

0.3.1

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page