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

Running a profile analysis on code block 2.4.5.1 #183

Closed
stevevanhooser opened this issue Jun 6, 2021 · 6 comments
Closed

Running a profile analysis on code block 2.4.5.1 #183

stevevanhooser opened this issue Jun 6, 2021 · 6 comments

Comments

@stevevanhooser
Copy link
Contributor

Running a profile analysis on code block 2.4.5.1
for i=1:2, tdoc{i} = oapp.calculate_tuning_curve(e{i}); oriprops{i} = oapp.calculate_all_oridir_indexes(e{i}); end;

is returning the following error:

Warning: Matrix is singular to working precision.
In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 89)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

Warning: Matrix is singular to working precision.

In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 96)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

Warning: Matrix is singular to working precision.

In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 89)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

Warning: Matrix is singular to working precision.

In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 96)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

Warning: Matrix is singular to working precision.

In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 89)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

Warning: Matrix is singular to working precision.

In vlt.stats.hotellingt2test (line 27)
In vlt.neuro.vision.oridir.index.oridir_vectorindexes
(line 96)
In ndi.app/oridirtuning/calculate_oridir_indexes
(line 134)
In ndi.app/oridirtuning/calculate_all_oridir_indexes
(line 72)

The figures appear as attached.
Screenshot 2021-06-06 014603

Originally posted by @KellyZhangL in #179 (comment)

@stevevanhooser
Copy link
Contributor Author

Hi Kelly -

Do I understand correctly that there seems to be some problem running this with the profiler? (That is, if you run it with the profiler off, it runs fine, but it returns an error when the profiler is being used?)

Thanks
Steve

@KellyZhangL
Copy link
Collaborator

I retried it this morning with profile off and I'm getting the same errors.

@stevevanhooser
Copy link
Contributor Author

OK, is it possible that in the new run, you didn't select spikes for the cluster? It seems like the "neurons" don't have any activity in them.

@KellyZhangL
Copy link
Collaborator

That definitely is possible since I only assigned a quality label in the spike sorter app without doing anything else.

@KellyZhangL
Copy link
Collaborator

Issue solved! The error was me not selecting spikes for the clusters beforehand. I was wondering, if I selected different spike clusters, would my graphs in this code block look different?

@stevevanhooser
Copy link
Contributor Author

Yes, in many cases. These recordings show very well isolated neurons; but, if there were multiple clusters and the neurons that they represented had different properties, then the results would differ.

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