Skip to content

Commit f8440f9

Browse files
authored
Fix np2 scaling factor (#198)
- I believe the previous scaling factor was result from misleading information from np2 datasheet
1 parent 21f8c2e commit f8440f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflows/hardware/np2e/load-np2e.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
#%% Neuropixels 2.0 Data
3838
bit_depth = 12
39-
scalar = 2.44141
39+
scalar = 3.05176
4040
offset = -(2 ** (bit_depth - 1)) * scalar
4141
recording = se.read_binary(os.path.join(data_directory, f"np2-a-ephys_{suffix}.raw"),
4242
3e5,

0 commit comments

Comments
 (0)