You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all! Thanks a lot for this wonderful tool,
I've got a question about of the script Display_Probe_Track.m
How can I go from the output vector borders to the actual anatomical location of every channel of my probe?
Thanks a lot for your time!
Best,
Filippo
The text was updated successfully, but these errors were encountered:
This should be possible with a bit of extra code. Here are some pointers. In theory you'll need the following inputs:
The best-fit line of your probe. This is computed in this file, and given by m, the midpoint of the line segment and p, the vector pointing in the direction of the line
The length of the probe in reference space. This is computed in Display_Probe_Track and called probe_length_histo
The location of the start of the active sites and the probe tip in atlas coordinates. These are plotted on line 210, and should be given by something like this:
With this information, you can calculate the coodinates of a channel that is X% of the way between the start and end of active sites, e.g.: halfway_location = start_of_active_sites * 0.5 + probe_tip * (1 - 0.5)
If your sites are positioned in two dimensions, then you'll have to know the orientation of the probe with respect to the brain, and add this offset to the position along the corresponding dimension.
hope it helps!
Hi all! Thanks a lot for this wonderful tool,
I've got a question about of the script Display_Probe_Track.m
How can I go from the output vector borders to the actual anatomical location of every channel of my probe?
Thanks a lot for your time!
Best,
Filippo
The text was updated successfully, but these errors were encountered: