FlowCytometryStandard 4.0.15

There is a newer version of this package available.
See the version list below for details.
dotnet add package FlowCytometryStandard --version 4.0.15
                    
NuGet\Install-Package FlowCytometryStandard -Version 4.0.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FlowCytometryStandard" Version="4.0.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FlowCytometryStandard" Version="4.0.15" />
                    
Directory.Packages.props
<PackageReference Include="FlowCytometryStandard" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FlowCytometryStandard --version 4.0.15
                    
#r "nuget: FlowCytometryStandard, 4.0.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FlowCytometryStandard@4.0.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FlowCytometryStandard&version=4.0.15
                    
Install as a Cake Addin
#tool nuget:?package=FlowCytometryStandard&version=4.0.15
                    
Install as a Cake Tool

<div align="center">

Logo

FCS 流式细胞文件读写组件

FlowCytometryStandard —— 纯 .NET 实现的 FCS(Flow Cytometry Standard)流式细胞术数据文件读写组件

version netstandard frameworks license

</div>


✨ 项目简介

FCS 是流式细胞术(Flow Cytometry)领域通用的数据文件格式标准。本组件提供对 .fcs 文件的读取、解析、写入能力,并内置补偿计算、刻度换算、时间通道计算等常用功能, 采用多线程 / 异步 IO 优化,适合处理大规模流式细胞数据集。

🔗 开源地址

📦 支持范围

项目 支持情况
读取版本 3.2、3.1、3.0 及部分 2.0
写入版本 3.2、3.1、3.0
存储模式 Mode L(列表模式)
数据格式 DataType I(整数)、F(单精度浮点)、D(双精度浮点)
目标框架 netstandard2.0 / net462 / net48 / net6.0 / net8.0

🚀 快速开始

命名空间:FlowCytometryStandard

// 读取文件中全部数据集
IList<IFCS> fcsList = await Factory.OpenAsync(@"C:\test.fcs");

// 仅读取文件中第一个数据集
IFCS firstDataset = await Factory.OpenOneAsync(@"C:\test.fcs");

// 保存数据集到文件
await Factory.SaveToFCSAsync(@"C:\test1.fcs", fcsList.ToArray());

// 计算补偿后的刻度值数据(写入各通道的 CompensationScaleValues 属性)
await firstDataset.CalculationCompensationAsync();

// 清除补偿后的刻度值数据
firstDataset.ClearCompensationScaleValues();

🧩 核心能力

  • 文件读写 —— Factory 提供多版本读取 / 保存 API,支持文件路径与数据流两种入口。
  • 数据解析 —— 文本段、补充文本段、数据段的解析与生成,兼容多种字节序。
  • 补偿计算 —— 支持 FCS3.0 的 Compensation 与 FCS3.1 / 3.2 的 Spillover,多线程矩阵运算。
  • 刻度换算 —— PnE 对数放大、PnG 线性放大、校准(Calibration)及其逆运算。
  • 性能优化 —— 数据段窗口并行 + 双窗口流水线、Buffer.BlockCopy 快路径、slice-by-8 CRC16 校验。

📖 文档

❤️ 支持开源

开源不易,感谢支持!

支付宝 / 微信

📄 许可证

本项目基于 AGPL-3.0 许可证开源。

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.18 108 11/19/2026
4.0.17 106 11/13/2026
4.0.15 130 10/9/2026