-
Notifications
You must be signed in to change notification settings - Fork 201
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
Add LocationsWidget and plot_locations #3649
base: main
Are you sure you want to change the base?
Add LocationsWidget and plot_locations #3649
Conversation
I can dig this at least. I would check this out if we had it. |
Good idea. I think it can be usefull. Another idea (not sure it is a good one) could be to move this logic in the spike_location widget using having options like:
|
Looks really nice! Under the hood this looks similar to the Incorporating this directly with The histogram look really nice, just in case useful here is another version on this PR that I never got over the line. |
That's a great idea, Joe! I just hacked together a 90%-the-same plot using Thanks for the other feedback, all! |
Add a
LocationsWidget
andplot_locations
, to complement theAmplitudesWidget
andplot_amplitudes
.This plots the spike locations as a function of time, and is 99% the same as the
plot_amplitudes
function. You can control which direction you want to plot using e.g.directions_axis = 'x'
and plot a histogram if you'd like.An example:
Or
Can plot multiple units, e.g.
Up for debate:
plot_spike_locations
which plots the spike locations on the probe. This naming is designed to pair withplot_amplitudes
.