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

Error using get_noise_fft (line 13) Too many output arguments. #97

Open
tochenan opened this issue Jul 10, 2019 · 4 comments
Open

Error using get_noise_fft (line 13) Too many output arguments. #97

tochenan opened this issue Jul 10, 2019 · 4 comments

Comments

@tochenan
Copy link

Hello Developer,

I am using run_pipeline.m to analyse my video and found the following error message:
Error using parallel.FevalFuture/fetchNext (line 217)
The function evaluation completed with an error.

Error in run_CNMF_patches (line 121)
[idx, value] = fetchNext(future_results);

Error in run_pipeline (line 127)
[A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(data.Y,K,patches,tau,0,options); % do not perform deconvolution here since

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Caused by:
Error using get_noise_fft (line 13)
Too many output arguments.

I am running the script on a tif video in matlab 2019.

Many thanks,
Mingran

@epnev
Copy link
Contributor

epnev commented Jul 11, 2019

@tochenan If you replace data.Y with just data when you call run_CNMF_patches do you still get the same error? How big is your file?

@tochenan
Copy link
Author

@epnev the tif file is 5.25G. I tried your method yesterday and the same error popped up.

Best,
Mingran

@epnev
Copy link
Contributor

epnev commented Jul 15, 2019

@tochenan I'm confused. Can you copy the exact error that you get if you pass data instead of data.Y?

@tochenan
Copy link
Author

starting resampling
starting resampling
starting resampling
starting resampling
Elapsed time is 94.048204 seconds.
Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Estimating the noise power for each pixel from a simple PSD estimate...Error using get_noise_fft (line 13)
Too many output arguments.

Error in preprocess_data (line 75)
[sn,psx] = get_noise_fft(Y,options);

Error in CNMF/preprocess (line 178)
[obj.P,obj.Y] = preprocess_data(obj.Y,obj.p,obj.options);

Error in CNMF/fit (line 396)
obj.preprocess();

Error in run_CNMF_patches>process_patch_object (line 386)
CNM.fit(Y,options,K);

Error in run_CNMF_patches (line 105)
parfor i = 1:n_patches

Error in run_pipeline (line 127)
[A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(data,K,patches,tau,0,options); % do not perform deconvolution here since

the above is the error I got

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