Skip to content
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

'transverse' Display Probe Track #52

Open
Flavia0310 opened this issue Aug 4, 2021 · 3 comments
Open

'transverse' Display Probe Track #52

Flavia0310 opened this issue Aug 4, 2021 · 3 comments

Comments

@Flavia0310
Copy link

Hi,
I'm facing a problem to reconstruct the probe trajectory using the transverse plane.
transverse
As you can see in the picture while I use the "Display_Probe_Track. m" I get sparse points, I don't understand why and also I have this error:
"getting probe scaling from histology data...
Index in position 1 exceeds array bounds (must not exceed 800).
Error in Display_Probe_Track (line 162)
ann = av_plot(round(m(1)),round(m(2)),round(m(3))); %until hitting the top"

Do you have an idea about this error source?

@philshams
Copy link
Collaborator

I was able to replicate that error message and fix the bug that caused it (in theory). It was just a matter of changing the variable 'av_plot' to 'av', in lines 159 and 163. Does updating to the latest version of the repo (or making that change yourself) fix your problem?

@Flavia0310
Copy link
Author

Thank you, I don't have the error anymore, but still scattered points. That could be a slice alignment problem, even though my probes should be both on the right hemisphere and as you can see here are very random. What do you think it’s due to?
scattered points

@philshams
Copy link
Collaborator

Are you saying that the points you click during the probe-marking step are not scattered, but then the data get somehow messed up and appear scattered? Or just that the points you click are scattered? If the latter, I imagine it's a matter of making sure your slices are all properly aligned (especially in the area where you're marking the probe) and that whatever track you're clicking on is indeed thin and linear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants