Closed gregoriog closed 8 years ago
@gregoriog
A thing you can try is first run the greedy method that will find the boutons and smaller components, then compute the residual Y - Ain_Cin - bin_fin (you'll probably need to reshape your matrices back and forth to do the multiplications), and then run the initialization again with the 'sparse_NMF' method. Then combine the results, and see if the results look better.
You can also play with the merging threshold, but bear in mind that the algorithm only merges components that are spatially overlapping. So you might want to consider to merge things manually.
Since this is not a bug related issue with the code, I'm closing this issue. Feel free to use the chat room or send me an email for additional questions.
Eftychios
Thank you for your answer Eftychios
Gregorio d_!_b
On Mon, Feb 29, 2016 at 4:04 PM, eftychios notifications@github.com wrote:
@gregoriog https://github.com/gregoriog
A thing you can try is first run the greedy method that will find the boutons and smaller components, then compute the residual Y - Ain_Cin - bin_fin (you'll probably need to reshape your matrices back and forth to do the multiplications), and then run the initialization again with the 'sparse_NMF' method. Then combine the results, and see if the results look better.
You can also play with the merging threshold, but bear in mind that the algorithm only merges components that are spatially overlapping. So you might want to consider to merge things manually.
Since this is not a bug related issue with the code, I'm closing this issue. Feel free to use the chat room or send me an email for additional questions.
Eftychios
— Reply to this email directly or view it on GitHub https://github.com/epnev/ca_source_extraction/issues/16#issuecomment-190249661 .
hello,
I am interested in extracting axonal calcium traces. When applying the greedy method, the program worked very well, but many boutons and axons distant from one another, but belonging to the same axon and displaying the same activity are not merged together. When applying the 'sparse_NMF' method, the output I get is more like of the neuropil. I would like to try the ‘greedy’ and ‘sparse_NMF’ methods combined (as it is stated in the documentation file) but I don't know how to proceed. Could you give me some hints?
Best