Skip to content

Commit 34748ed

Browse files
committed
Remove camel/pascal case and make it more like plain language
Change ushort to short for analoginputdata
1 parent c11f6c2 commit 34748ed

7 files changed

+15
-15
lines changed

Diff for: OpenEphys.Onix1/AnalogInputDataFrame.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public AnalogInputDataFrame(ulong[] clock, ulong[] hubClock, Mat analogData)
2828
/// samples acquired at 100 kHz. Each column corresponds to an ADC sample whose time is
2929
/// indicated by the corresponding elements in <see cref="DataFrame.Clock"/> and <see
3030
/// cref="DataFrame.HubClock"/>. When <c>DataType</c> in <see
31-
/// cref="OpenEphys.Onix1.AnalogInput"/> is set to <c>Volts</c>, pre-converted voltage
32-
/// values are encoded as a <see cref="float"/>. When <c>DataType</c> is set to <c>S16</c>,
33-
/// raw 16-bit ADC samples are encoded as a <see cref="ushort"/>. In this case, the following
34-
/// equation can be used to convert it to volts:
31+
/// cref="OpenEphys.Onix1.AnalogInput"/> is set to <c>Volts</c>, each pre-converted voltage
32+
/// value is encoded as a <see cref="float"/>. When <c>DataType</c> is set to <c>S16</c>,
33+
/// each raw 16-bit ADC samples is encoded as a <see cref="short"/>. In this case, the
34+
/// following equation can be used to convert it to volts:
3535
/// <code>
36-
/// V_analogInput (V) = VoltageRange / 2^16 × AdcSample
36+
/// Analog Voltage (V) = Voltage Range / 2^16 × ADC Sample
3737
/// </code>
3838
/// where voltage range can be 5, 10, or 20 depending on how the analog input voltage range
3939
/// is configured (±2.5, ±5, or ±10 volts) in <see

Diff for: OpenEphys.Onix1/NeuropixelsV1DataFrame.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public NeuropixelsV1DataFrame(ulong[] clock, ulong[] hubClock, int[] frameCount,
4444
/// encoded as a <see cref="ushort"/>. The following equation can be used to convert it to
4545
/// microvolts:
4646
/// <code>
47-
/// V_electrode (µV) = 1,171.875 / ApGain × (AdcSample – 512)
47+
/// Electrode Voltage (µV) = 1,171.875 / AP Gain × (ADC Sample – 512)
4848
/// </code>
4949
/// where AP gain can be 50, 125, 250, 500, 1,000, 1,500, 2,000, or 3,000 depending on how
5050
/// it's configured in the <see
@@ -62,7 +62,7 @@ public NeuropixelsV1DataFrame(ulong[] clock, ulong[] hubClock, int[] frameCount,
6262
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 10-bit offset, binary value encoded as
6363
/// a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
6464
/// <code>
65-
/// V_electrode (µV) = 1,171.875 / LfpGain × (AdcSample – 512)
65+
/// Electrode Voltage (µV) = 1,171.875 / LFP Gain × (ADC Sample – 512)
6666
/// </code>
6767
/// where LFP gain can be 50, 125, 250, 500, 1,000, 1,500, 2,000, or 3,000 depending on how
6868
/// it's configured in the <see

Diff for: OpenEphys.Onix1/NeuropixelsV2eBetaDataFrame.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public NeuropixelsV2eBetaDataFrame(ulong[] clock, ulong[] hubClock, Mat amplifie
3232
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 14-bit, offset binary value encoded
3333
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
3434
/// <code>
35-
/// V_electrode (µV) = 0.76294 × (AdcSample – 8192)
35+
/// Electrode Voltage (µV) = 0.76294 × (ADC Sample – 8192)
3636
/// </code>
3737
/// </remarks>
3838
public Mat AmplifierData { get; }

Diff for: OpenEphys.Onix1/NeuropixelsV2eDataFrame.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public NeuropixelsV2eDataFrame(ulong[] clock, ulong[] hubClock, Mat amplifierDat
3030
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 12-bit, offset binary value encoded
3131
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
3232
/// <code>
33-
/// V_electrode (µV) = 3.05176 × (AdcSample – 2048)
33+
/// Electrode Voltage (µV) = 3.05176 × (ADC Sample – 2048)
3434
/// </code>
3535
/// </remarks>
3636
public Mat AmplifierData { get; }

Diff for: OpenEphys.Onix1/Nric1384DataFrame.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public Nric1384DataFrame(ulong[] clock, ulong[] hubClock, int[] frameCount, Mat
4646
/// encoded as a <see cref="ushort"/>. The following equation can be used to convert it to
4747
/// microvolts:
4848
/// <code>
49-
/// V_electrode (µV) = 1,171.875 / ApGain × (AdcSample – 512)
49+
/// Electrode Voltage (µV) = 1,171.875 / AP Gain × (ADC Sample – 512)
5050
/// </code>
5151
/// where AP gain can be 50, 125, 250, 500, 1,000, 1,500, 2,000, or 3,000 depending on how
5252
/// it's configured in <see cref="OpenEphys.Onix1.ConfigureNric1384"/> .
@@ -64,7 +64,7 @@ public Nric1384DataFrame(ulong[] clock, ulong[] hubClock, int[] frameCount, Mat
6464
/// cref="DataFrame.HubClock"/>. Each ADC sample is an 10-bit, offset binary value encoded
6565
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
6666
/// <code>
67-
/// V_electrode (µV) = 1,171.875 / LfpGain × (AdcSample – 512)
67+
/// Electrode Voltage (µV) = 1,171.875 / LFP Gain × (ADC Sample – 512)
6868
/// </code>
6969
/// where LFP gain can be 50, 125, 250, 500, 1,000, 1,500, 2,000, or 3,000 depending on how
7070
/// it's configured in <see cref="OpenEphys.Onix1.ConfigureNric1384"/>.

Diff for: OpenEphys.Onix1/Rhd2164DataFrame.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Rhd2164DataFrame(ulong[] clock, ulong[] hubClock, Mat amplifierData, Mat
3232
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 16-bit, offset binary value encoded
3333
/// as a <see cref="ushort"/>. TThe following equation can be used to convert it to microvolts:
3434
/// <code>
35-
/// V_electrode (µV) = 0.195 × (AdcSample – 32768)
35+
/// Electrode Voltage (µV) = 0.195 × (ADC Sample – 32768)
3636
/// </code>
3737
/// </remarks>
3838
public Mat AmplifierData { get; }
@@ -47,7 +47,7 @@ public Rhd2164DataFrame(ulong[] clock, ulong[] hubClock, Mat amplifierData, Mat
4747
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 16-bit, offset binary value encoded
4848
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
4949
/// <code>
50-
/// V_electrode (µV) = 0.195 × (AdcSample – 32768)
50+
/// Electrode Voltage (µV) = 0.195 × (ADC Sample – 32768)
5151
/// </code>
5252
/// </remarks>
5353
public Mat AuxData { get; }

Diff for: OpenEphys.Onix1/Rhs2116DataFrame.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Rhs2116DataFrame(ulong[] clock, ulong[] hubClock, Mat amplifierData, Mat
3232
/// cref="DataFrame.HubClock"/>. Each ADC sample is an 16-bit, offset binary value encoded
3333
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
3434
/// <code>
35-
/// V_electrode (µV) = 0.195 × (AdcSample – 32768)
35+
/// Electrode Voltage (µV) = 0.195 × (ADC Sample – 32768)
3636
/// </code>
3737
/// </remarks>
3838
public Mat AmplifierData { get; }
@@ -47,7 +47,7 @@ public Rhs2116DataFrame(ulong[] clock, ulong[] hubClock, Mat amplifierData, Mat
4747
/// cref="DataFrame.HubClock"/>. Each ADC sample is a 16-bit, offset binary value encoded
4848
/// as a <see cref="ushort"/>. The following equation can be used to convert it to microvolts:
4949
/// <code>
50-
/// V_electrode (mV) = -19.23 × (AdcSample – 512)
50+
/// Electrode Voltage (mV) = -19.23 × (ADC Sample – 512)
5151
/// </code>
5252
/// </remarks>
5353
public Mat DCData { get; }

0 commit comments

Comments
 (0)