Skip to main content

Read fluorescence correlation spectroscopy (FCS) data files

Project description

Fcsfiles is a Python library to read Carl Zeiss(r) ConfoCor(r) RAW and ASCII measurement data files.

Author:Christoph Gohlke
Organization:Laboratory for Fluorescence Dynamics. University of California, Irvine


“Carl Zeiss” and “ConfoCor” are registered trademarks of Carl Zeiss, Inc.

The use of this implementation may be subject to patent or license restrictions.

The API is not stable yet and is expected to change between revisions.

Python 2.7 and 3.4 are deprecated.

This module does not read flow cytometry standard FCS files.


Read the CountRateArray from a ConfoCor3 ASCII file as a numpy array:

>>> fcs = ConfoCor3Fcs('ConfoCor3.fcs')
>>> fcs['FcsData']['FcsEntry'][0]['FcsDataSet']['CountRateArray'].shape
(60000, 2)

Read data and metadata from a ConfoCor3 RAW file:

>>> fcs = ConfoCor3Raw('ConfoCor3.raw')
>>> fcs.filename()
>>> fcs.frequency
>>> times = fcs.asarray()
>>> times[10858]
>>> times, bincounts = fcs.asarray(bins=1000)
>>> times.shape
>>> bincounts[618]
>>> fcs.close()

Read data and metadata from a ConfoCor2 RAW file:

>>> fcs = ConfoCor2Raw('ConfoCor2.raw')
>>> fcs.frequency
>>> ch0, ch1 = fcs.asarray()
>>> ch1[4812432]
>>> times, ch0, ch1 = fcs.asarray(bins=1000)
>>> times.shape
>>> ch1[428]
>>> fcs.close()

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
fcsfiles-2018.10.18-py2.py3-none-any.whl (9.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3
fcsfiles-2018.10.18.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None

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