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

firing rate & rm AP plot depth mismatched #81

Open
takacsflora opened this issue Jan 15, 2023 · 9 comments
Open

firing rate & rm AP plot depth mismatched #81

takacsflora opened this issue Jan 15, 2023 · 9 comments

Comments

@takacsflora
Copy link

Hi,
When recording from bank 1, some image plots are not displaying the correct depth, I think (others do, like the amplitude plot). See screenshots:
image
image

@mayofaulkner
Copy link
Contributor

Hi Flora, has this been happening for all your probes or just this one particular one? It looks like there is a mismatch between the spikes.depths coordinates and the channels.localCoordinates (the channels are from 0 - ~3000) whereas the spikes.depths start from ~ 3000. Can you confirm this is the case?

Thanks

@takacsflora
Copy link
Author

Hi Mayo,
Thanks for the fast reply! All of our probes I checked so far -- here is the histogram for both, so channel.localCoordinates seems fine
image

Thanks for the help!

@mayofaulkner
Copy link
Contributor

Hmmm, okay must be a bug in the code somewhere. I'll take a look and get back to you. Just to confirm this a 4 shank probe and you only see on this problem on shank 1 or all shanks?

@takacsflora
Copy link
Author

Thanks! Yes, 4 shank probe and on all shanks. I only tested the individual shank configuration (so not when 720um is recorded from each).

@mayofaulkner
Copy link
Contributor

Could you attach your channels.localCoordinates and channels.rawInd files and if possible the spikeglx*.ap.meta file for this probe.
Thank you

@takacsflora
Copy link
Author

Yes, I will email you in a sec. Thanks!

@mayofaulkner
Copy link
Contributor

Hi Flora,
I have fixed the problem and merged into master. Let me know if something still seems wrong.

@takacsflora
Copy link
Author

Yes, fixed, thanks Mayo!

@takacsflora
Copy link
Author

Actually, sorry, there is still a minor issue, which is at these heights if you are putting down a line, it is taking the wrong location on the image, so for example I was trying to put a line to where the arrow is here (ofc not major, as I can easily adjust it, just thought you might want to know)
image

@takacsflora takacsflora reopened this Jan 23, 2023
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