These are chat archives for epnev/ca_source_extraction

Aug 2017
Aug 07 2017 18:51
Hi @epnev, when using lars_regression_noise on a simulated dataset, the function throws an error in line 206 (w_dir = -(Ws(:,i) - Ws(:,i-1))/(lambdas(i)-lambdas(i-1));). The error says the indexing exceeds matrix dimensions. Am I missing something very obvious?
Just to make sure I understand the arguments to lars_regression_noise, the function takes the activity of a single pixel over all time points, the temporal activity of the ROI that the pixel is a part of and the noise power level of the pixel with a positivity flag, right?