-
Notifications
You must be signed in to change notification settings - Fork 41
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
Neuropixel data used in rastermap(gui) #27
Comments
Hi @gersgers, did you ever figure out a solution to this issue? I have attempted feeding in npx data as spikes binned (neuron x time -- e.g. histogram counts) and as neurons x spiketimes but did not have success. I am not using the GUI but attempting via jupyter/cli first. Any luck on your end? |
can you please post the error message? we have an example notebook here using a neuron by time matrix (binned from spike times): https://github.com/MouseLand/rastermap/blob/main/notebooks/rastermap_singleneurons.ipynb |
Ah no, the zeros should be kept in. Those are bins where the neurons don't spike and that's useful info for making the visualization. The sparsity is fine, it should also be able to handle neurons without any spikes, but let me know if you get an error there. Instead of downsampling, you should bin so that you retain all the spikes. If you have a list of spike times and cluster ids (st and clu), this can be done with this command here: Line 137 in 0a283fe
We will integrate this in as a data loader, I'll put an enhancement tag on it. |
Got it! That worked! I was able to run it and successfully produce the raster. Thank you! |
I would like to use rastermap on neuropixel data. The data are detected and sorted using Kilosort 2.5 and Phy. I further analyze the data with Matlab.
I have seen in your publications that rastermap can be applied to such data. However, the pipeline and necessary data layout is not clear to me.
Can you provide me with information on this?
Best,
Stefan
The text was updated successfully, but these errors were encountered: