Skip to content

Commit 325e66c

Browse files
committed
Add Ground as reference option for Neuropixels 2.0 probes
1 parent 72617ac commit 325e66c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

OpenEphys.Onix1/NeuropixelsV2.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ internal static BitArray[] GenerateBaseBits(NeuropixelsV2QuadShankProbeConfigura
9999
NeuropixelsV2QuadShankReference.Tip2 => 2,
100100
NeuropixelsV2QuadShankReference.Tip3 => 2,
101101
NeuropixelsV2QuadShankReference.Tip4 => 2,
102+
NeuropixelsV2QuadShankReference.Ground => 3,
102103
_ => throw new InvalidOperationException("Invalid reference selection."),
103104
};
104105

OpenEphys.Onix1/NeuropixelsV2QuadShankProbeConfiguration.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ public enum NeuropixelsV2QuadShankReference : uint
3434
/// <summary>
3535
/// Specifies that the tip reference of shank 4 will be used.
3636
/// </summary>
37-
Tip4
37+
Tip4,
38+
/// <summary>
39+
/// Specifies that the ground reference will be used.
40+
/// </summary>
41+
Ground
3842
}
3943

4044
/// <summary>

0 commit comments

Comments
 (0)