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:
- Organization:
Laboratory for Fluorescence Dynamics. University of California, Irvine
- Version:
2019.1.1
Requirements
Revisions
- 2019.1.1
Update copyright year.
Notes
“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.
Examples
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()
'f5ee4f36488fca2f89cb6b8626111006_R1_P1_K1_Ch1.raw'
>>> fcs.frequency
20000000
>>> times = fcs.asarray()
>>> times[10858]
1199925494
>>> times, bincounts = fcs.asarray(bins=1000)
>>> times.shape
(1000,)
>>> bincounts[618]
23
>>> fcs.close()
Read data and metadata from a ConfoCor2 RAW file:
>>> fcs = ConfoCor2Raw('ConfoCor2.raw')
>>> fcs.frequency
20000000
>>> ch0, ch1 = fcs.asarray()
>>> ch1[4812432]
999999833
>>> times, ch0, ch1 = fcs.asarray(bins=1000)
>>> times.shape
(1000,)
>>> ch1[428]
10095
>>> fcs.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fcsfiles-2019.1.1.tar.gz.
File metadata
- Download URL: fcsfiles-2019.1.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f72b0876f219600d88fa527fbd159fed487c9e6adba5aa495646604de9775e3
|
|
| MD5 |
0b6169aa67e190e2f57a991ae4c376d5
|
|
| BLAKE2b-256 |
774ad370fe73aa78834fafc2406aa84e790b1c96a865b056fe751e9c5e3b21ed
|
File details
Details for the file fcsfiles-2019.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: fcsfiles-2019.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d17cf3dd50a0fa570944297e0b4d6e3228e750ec2ad576327a702a946296ff
|
|
| MD5 |
f6f33dbaf13ebb407f83632578031518
|
|
| BLAKE2b-256 |
a1396c9b7751ee8a72510f7e959edd92a97c42e307c461c451c1890efe9d9f5b
|