-
Notifications
You must be signed in to change notification settings - Fork 175
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
Error in postprocessing.compute_unit_locations(method = "center_of_mass" #3074
Comments
Hi @jjb314 , you're right that something seems suspicious here! But I can't think of anything obvious: if you could provide some more info on the questions below, that'd be really useful. Could you print out the result of Does your sparsity look reasonable? You can check the sparisty mask by running Do your templates look sensible? You can plot them using plot_unit_templates(), or whatever you're using to plot later. (More info on widgets: https://spikeinterface.readthedocs.io/en/latest/modules/widgets.html ) What happens when you compute the spike locations, using compute_spike_locations()? Do these numbers reflect the proper geometry? Thanks! |
The spikeinterface-gui can be usefull to debug with some plots: |
Hello, |
Hello, spikeinterface successfully handles 2D probe information from a MaxWell MEA recording up until I try to find unit locations.
Because of the large data size(~5GB), I computed the SortingAnalyzer and templates with sparse=True.
The array returned by compute_unit_locations is completely flat on the second dimension (all values are 122.5), despite the get_channel_locations() function returning proper geometry.
Additionally, all other methods for unit location return values that don't make sense.
Do you know why I would have this issue?
The text was updated successfully, but these errors were encountered: