Fcsfiles is a Python library to read Carl Zeiss(r) ConfoCor(r) RAW and ASCII measurement data files.
- Author:
- License:
BSD-3-Clause
- Version:
2026.1.8
- DOI:
Quickstart
Install the fcsfiles package and all dependencies from the Python Package Index:
python -m pip install -U fcsfiles
See Examples for using the programming interface.
Source code and support are available on GitHub.
Requirements
This revision was tested with the following requirements and dependencies (other versions may work):
Revisions
2026.1.8
Improve code quality.
2025.12.12
Drop support for Python 3.10, support Python 3.14.
2025.1.1
Improve type hints.
Drop support for Python 3.9, support Python 3.13.
2024.5.24
…
Refer to the CHANGES file for older revisions.
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.
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)
>>> print(fcs) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Carl Zeiss ConfoCor3 - measurement data file - version 3.0 ANSI
BEGIN FcsData 30000
Name = Fluorescein
Comment =
AverageFlags = Repeat|Position|Average_Fit_Results
SortOrder = Channel-Repeat-Position-Kinetics
BEGIN FcsEntry1 10000
...
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()
>>> int(times[10858])
1199925494
>>> times, bincounts = fcs.asarray(bins=1000)
>>> times.shape
(1000,)
>>> int(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()
>>> int(ch1[4812432])
999999833
>>> times, ch0, ch1 = fcs.asarray(bins=1000)
>>> times.shape
(1000,)
>>> int(ch1[428])
10095
>>> fcs.close()
Metadata
Release files for fcsfiles 2026.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fcsfiles-2026.1.8.tar.gz | 10.2 kB | Without provenance | Details for fcsfiles-2026.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fcsfiles-2026.1.8-py3-none-any.whl | Python 3 | none | any | Details for fcsfiles-2026.1.8-py3-none-any.whl |
Total release size: 20.8 kB
Release files / fcsfiles-2026.1.8.tar.gz
| Download URL | fcsfiles-2026.1.8.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c3c1ac146c94a7e8acf6fc1e27d356ecd5869aca30d252482f1ec3ee520bf4b
|
|
BLAKE2b-256 checksum How to use checksums |
41c4d8404a8e5447e75b8cb2873705b52859ed34f6772bc49421620da777cef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / fcsfiles-2026.1.8-py3-none-any.whl
| Download URL | fcsfiles-2026.1.8-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19ca9a32760d11a19751a45addf9ab9f5b561bbc4404d508255d1539bddda01c
|
|
BLAKE2b-256 checksum How to use checksums |
908c1b37877f6a5193b00df6d5c556d954d52bd37dee6ac276279b0add20b229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for fcsfiles 2026.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.