Skip to content

Commit

Permalink
wiring file not in black
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jun 5, 2023
1 parent b002e6a commit 60bdf3f
Showing 1 changed file with 36 additions and 332 deletions.
368 changes: 36 additions & 332 deletions src/probeinterface/wiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,347 +3,51 @@
"""
import numpy as np


# This code will not be formatted by Black
# fmt: off
pathways = {
# this is the neuronexus H32 with omnetics connected to the intantec RHD headstage
"H32>RHD2132": [
16,
17,
18,
20,
21,
22,
31,
30,
29,
27,
26,
25,
24,
28,
23,
19,
12,
8,
3,
7,
6,
5,
4,
2,
1,
0,
9,
10,
11,
13,
14,
15,
],
"ASSY-156>RHD2164": [
47,
46,
45,
44,
43,
42,
41,
40,
39,
38,
37,
36,
35,
34,
33,
32,
31,
30,
29,
28,
27,
26,
25,
24,
23,
22,
21,
20,
19,
18,
17,
16,
15,
14,
13,
12,
11,
10,
9,
8,
7,
6,
5,
4,
3,
2,
1,
0,
63,
62,
61,
60,
59,
58,
57,
56,
55,
54,
53,
52,
51,
50,
49,
48,
],
'H32>RHD2132': [
16, 17, 18, 20, 21, 22, 31, 30, 29, 27, 26, 25, 24, 28, 23, 19,
12, 8, 3, 7, 6, 5, 4, 2, 1, 0, 9, 10, 11, 13, 14, 15],

'ASSY-156>RHD2164': [
47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32,
31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16,
15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0,
63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48],

# Mapping the ASSY-116>RHD2132
"ASSY-116>RHD2132": [
24,
23,
25,
22,
26,
21,
27,
20,
28,
19,
29,
18,
30,
17,
31,
16,
0,
15,
1,
14,
2,
13,
3,
12,
4,
11,
5,
10,
6,
9,
7,
8,
],
'ASSY-116>RHD2132': [
24, 23, 25, 22, 26, 21, 27, 20, 28, 19, 29, 18, 30, 17, 31, 16, 0,
15, 1, 14, 2, 13, 3, 12, 4, 11, 5, 10, 6, 9, 7, 8],

# nicely given by Aaron Wrong
"ASSY-77>Adpt.A64-Om32_2x-sm-NN>RHD2164": [
62,
63,
60,
61,
59,
58,
57,
56,
55,
54,
53,
52,
51,
50,
49,
48,
32,
33,
34,
35,
37,
36,
39,
41,
43,
45,
47,
38,
42,
44,
46,
40,
22,
16,
18,
20,
24,
17,
19,
21,
23,
25,
26,
27,
29,
28,
31,
30,
14,
15,
12,
13,
10,
11,
8,
9,
6,
7,
4,
5,
3,
2,
1,
0,
],
'ASSY-77>Adpt.A64-Om32_2x-sm-NN>RHD2164': [
62, 63, 60, 61, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48,
32, 33, 34, 35, 37, 36, 39, 41, 43, 45, 47, 38, 42, 44, 46, 40,
22, 16, 18, 20, 24, 17, 19, 21, 23, 25, 26, 27, 29, 28, 31, 30,
14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 3, 2, 1, 0],

# done by Samuel Garcia, Alessio Buccino, Jessie Goins for Pierre-Pascal Lenck-Santini
"ASSY-77>Adpt.A64-Om32_2x-sm-NN>two_RHD2132": [
47,
32,
46,
33,
34,
45,
35,
44,
36,
43,
37,
42,
38,
41,
39,
40,
16,
31,
17,
30,
29,
18,
28,
27,
26,
25,
24,
19,
21,
22,
23,
20,
11,
8,
9,
10,
12,
7,
6,
5,
4,
3,
13,
2,
1,
14,
0,
15,
55,
56,
54,
57,
53,
58,
52,
59,
51,
60,
50,
61,
62,
49,
63,
48,
],
'ASSY-77>Adpt.A64-Om32_2x-sm-NN>two_RHD2132': [
47, 32, 46, 33, 34, 45, 35, 44, 36, 43, 37, 42, 38, 41, 39, 40,
16, 31, 17, 30, 29, 18, 28, 27, 26, 25, 24, 19, 21, 22, 23, 20,
11, 8, 9, 10, 12, 7, 6, 5, 4, 3, 13, 2, 1, 14, 0, 15,
55, 56, 54, 57, 53, 58, 52, 59, 51, 60, 50, 61, 62, 49, 63, 48],

# from PDF documention of mini-amp-64 page 5
"cambridgeneurotech_mini-amp-64": [
'cambridgeneurotech_mini-amp-64': [
# connector J2 TOP
41,
39,
38,
37,
35,
34,
33,
32,
29,
30,
28,
26,
25,
24,
22,
20,
46,
45,
44,
43,
42,
40,
36,
31,
27,
23,
21,
18,
19,
17,
16,
14,
41, 39, 38, 37, 35, 34, 33, 32, 29, 30, 28, 26, 25, 24, 22, 20,
46, 45, 44, 43, 42, 40, 36, 31, 27, 23, 21, 18, 19, 17, 16, 14,
# connector J1 BOTTOM
55,
53,
54,
52,
51,
50,
49,
48,
47,
15,
13,
12,
11,
9,
10,
8,
63,
62,
61,
60,
59,
58,
57,
56,
7,
6,
5,
4,
3,
2,
1,
0,
],
55, 53, 54, 52, 51, 50, 49, 48, 47, 15, 13, 12, 11, 9, 10, 8,
63, 62, 61, 60, 59, 58, 57, 56, 7, 6, 5, 4, 3, 2, 1, 0
]
}
# fmt: on


def get_available_pathways():
Expand Down

0 comments on commit 60bdf3f

Please sign in to comment.