Skip to content

Commit

Permalink
Minor edits to remove blank space
Browse files Browse the repository at this point in the history
  • Loading branch information
bparks13 committed Oct 9, 2024
1 parent 71fddad commit 67e8857
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
.bonsai/*.exe.settings
.bonsai/*.exe.WebView2/
*.user
/OpenEphys.Onix1/ConfigureHeadstageNric1384LoadTest.cs
1 change: 0 additions & 1 deletion OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ class ConfigureNeuropixels1fHeadstageLinkController : ConfigurePortController
// TODO: Needs more testing
protected override bool ConfigurePortVoltage(DeviceContext device)
{

if (PortVoltage == null)
{
const double MinVoltage = 5.0;
Expand Down
6 changes: 2 additions & 4 deletions OpenEphys.Onix1/NeuropixelsV1.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using System;
using System;
using System.Collections;

namespace OpenEphys.Onix1
Expand Down Expand Up @@ -109,7 +108,6 @@ internal static BitArray[] MakeConfigBits(NeuropixelsV1ProbeConfiguration probeC

BaseConfigs[configIdx][chanOptsIdx + 6] = false;
BaseConfigs[configIdx][chanOptsIdx + 7] = !probeConfiguration.SpikeFilter; ; // Full bandwidth = 1, filter on = 0

}

int k = 0;
Expand Down Expand Up @@ -155,7 +153,7 @@ internal static BitArray[] MakeConfigBits(NeuropixelsV1ProbeConfiguration probeC
var compN = new BitArray(new byte[] { (byte)adc.CompN });
var cfix = new BitArray(new byte[] { (byte)adc.Cfix });
var slope = new BitArray(new byte[] { (byte)adc.Slope });
var coarse = (new BitArray(new byte[] { (byte)adc.Coarse }));
var coarse = new BitArray(new byte[] { (byte)adc.Coarse });
var fine = new BitArray(new byte[] { (byte)adc.Fine });

BaseConfigs[configIdx][compOffset + 0] = compP[0];
Expand Down
2 changes: 1 addition & 1 deletion OpenEphys.Onix1/NeuropixelsV1AdcCalibration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
/// A struct to hold an array of <see cref="NeuropixelsV1AdcCalibration"/> values and the serial number needed for each <see cref="ConfigureNeuropixelsV1e"/>.
/// </summary>
/// <param name="SerialNumber">The serial number from a calibration file.</param>
/// <param name="Adcs">The ADC calibration values from a calibration file.</param>
/// <param name="Adcs">The ADC calibration values from a calibration file.</param>
public readonly record struct NeuropixelsV1AdcCalibration(ulong SerialNumber, NeuropixelsV1Adc[] Adcs);
}

0 comments on commit 67e8857

Please sign in to comment.