Skip to content

swharden/AbfSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbfSharp

CI NuGet GitHub

AbfSharp is a .NET library for reading electrophysiology data from Axon Binary Format (ABF) files. ABFSharp wraps ABFFIO.DLL (the official ABF file reading library) and exposes its core functionality with an idiomatic .NET interface.

Platform Requirements

Because AbfSharp calls a 32-bit Windows DLL, your application must be built against the same target. Modify your csproj file to include:

<TargetFramework>net8.0-windows</TargetFramework>
<PlatformTarget>x86</PlatformTarget>

Quickstart

// Read the first sweep of an ABF file
AbfSharp.ABF abf = new("File_axon_5.abf");
Sweep sweep = abf.GetSweep(0);

// Show the first 5 values of the sweep
for (int i = 0; i < 5; i++)
    Console.WriteLine(sweep.Values[i]);

About

A .NET interface for Axon Binary Format (ABF) files

Resources

License

Stars

Watchers

Forks

Languages