-
Notifications
You must be signed in to change notification settings - Fork 53
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
[MRG] ENH: plot_spikes_raster
to always include all cell types
#754
[MRG] ENH: plot_spikes_raster
to always include all cell types
#754
Conversation
Can you share before/after for a situation where the cell wasn't spiking before? You can try plotting the spike raster in the alpha example which is subthreshold activity |
ba681c4
to
71bccb5
Compare
b63b459
to
119fef3
Compare
plot_spikes_raster
to always include all cell typesplot_spikes_raster
to always include all cell types
119fef3
to
d804451
Compare
something is off here ... you shouldn't be getting spiking in this example, no? |
ae51896
to
9217f42
Compare
You're correct that in the simulation of alpha and beta rhythms in subthreshold conditions, cells should not be spiking.
|
Better! But does the y-axis go from 0 to 270? That is to say ... how do we make it obvious to the user that there is no spiking or that only some subsets of neurons are spiking? |
Edit: Perhaps we can set the y-axis limit to the range from |
f064b35
to
f0900f4
Compare
a964437
to
2b0ae73
Compare
This is really all we need to do! |
Let's do that. Can you share how the other example plots look after doing so? |
2b0ae73
to
02299b2
Compare
Sure, I just ran the Gamma Rhythms. However, I received a graph with a lot of empty space at the bottom, which I believe was due to setting the Y-limit for all conditions. Therefore, I just moved the position and got the same plot as in the example. Here are the before and after changes.
|
02299b2
to
166efc9
Compare
Ah I see! Sorry I think the actual solution is to have the y-axis correspond to the gid of each cell. The tricky part is if we specify only a subset of cells to plot, then the gids used for plotting will need to be updated so that they stop at zero. Ultimately the idea is that if you compare plots from two different simulations, you want the y-axis to mean the same thing. Right now the y-axis changes depending on the number of cells that spike. |
2e55a16
to
a331a23
Compare
3b97c3f
to
9f1c7eb
Compare
@samadpls when you're back from exams can you try deleting the text in I think the GUI docs are still technically being built despite removing it from the navbar through |
4ee3ea1
to
83aea9b
Compare
Hey @ntolley , I made the changes and added |
83aea9b
to
636e365
Compare
plot_spikes_raster
to always include all cell typesplot_spikes_raster
to always include all cell types
Signed-off-by: samadpls <[email protected]>
636e365
to
909c000
Compare
Hey @ntolley, this is all set for merging. Feel free to do it whenever it's convenient for you! |
Looks great @samadpls!! Can you update |
Signed-off-by: samadpls <[email protected]>
Closes #658
plot_spikes_raster
logic to always include all cell types.