Skip to content

Commit 6c2fdff

Browse files
committed
remove invalid escpae character in neuropixels
1 parent 9279d1f commit 6c2fdff

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

src/probeinterface/neuropixels_tools.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,24 @@ def get_probe_contour_vertices(shank_width, tip_length, probe_length) -> list:
148148
Function to get the vertices of the probe contour from probe properties. The probe contour can be constructed
149149
from five points. These are the vertices shown in the following figure:
150150
151-
A | | E
152-
| |
153-
.
154-
.
155-
.
156-
| |
157-
B | | D
158-
\\ /
159-
\\/
160-
C
161-
162-
This function returns the points indicated in the diagram above in a list [A,B,C,D,E].
151+
Top of probe (y = probe_length)
152+
A +-------------------------------+ E
153+
| |
154+
| |
155+
| Shank body |
156+
| (shank_width) |
157+
| |
158+
| |
159+
B +------------------------------+ D (y = 0)
160+
\ /
161+
\ Tip region /
162+
\ (tip_length) /
163+
\ /
164+
\ /
165+
\ /
166+
+------------------+ C (y = -tip_length)
167+
168+
This function returns the vertices in the order [A, B, C, D, E] as a list of (x, y) coordinates.
163169
164170
Parameters
165171
----------

0 commit comments

Comments
 (0)