-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add voltage conversion equations to Neuropixels DataFrame docs #367
base: main
Are you sure you want to change the base?
Conversation
jonnew
commented
Nov 5, 2024
- Fixes Add sample to voltage conversion equations to neuropixels data frames #358
/// 384 electrodes (rows) acquired at 30 kHz (columns). Each sample is a 14-bit, offset binary value | ||
/// encoded as a <see cref="ushort"/>. To convert to microvolts, the following equation can be used: | ||
/// <code> | ||
/// V_electrode (uV) = 0.91553 uV × (ADC result – 8192) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The equation I've been using is 1/80/pow(2,14)*1e6 = 0.7629 uV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, not sure where I got my number from tbh.
/// 384 electrodes (rows) acquired at 30 kHz (columns). Each sample is a 12-bit, offset binary value | ||
/// encoded as a <see cref="ushort"/>. To convert to microvolts, the following equation can be used: | ||
/// <code> | ||
/// V_electrode (uV) = 2.44141 uV × (ADC result – 2048) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above...
1/80/pow(2,12)*1e6 = 3.05176 uV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Volts per bit should be exactly 4x higher than for the beta probes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This on latest brochure as well
https://www.neuropixels.org/_files/ugd/328966_2b39661f072d405b8d284c3c73588bc6.pdf