JinghaoLu / MIN1PIPE

A MINiscope 1-photon-based Calcium Imaging Signal Extraction PIPEline.
GNU General Public License v3.0
56 stars 25 forks source link

Error to run demo #2 #68

Open Julia220418 opened 2 years ago

Julia220418 commented 2 years ago

Hello, Thank you to have gave me a tip last time. Finally I succeeded to run MIN1PIPE, but I received an another error message from Matlab.

Error using intra_section Expected input number 1, I, to be non-NaN.

Error in frame_reg (line 92) m = intra_section(m, stt, stp, pixs, scl, sigma_x, sigma_f, sigma_d, flag, maskc);

Error in min1pipe (line 109) [m, corr_score, raw_score, scl, imaxy] = frame_reg(m, imaxy1, se, Fsi_new, pixs, scl, sigma_x, sigma_f, sigma_d);

Error in demo_min1pipe (line 15) [fname, frawname, fregname] = min1pipe(Fsi, Fsi_new, [], [], ismc, flag);

I'm unfamiliar with Matlab, so maybe this is boring problem, but I'm happy if you help me.

Julia

JinghaoLu commented 2 years ago

Hi @Julia220418 I guess you can refer to #66 to see if you have this same situation. Let me know if you need further help.

Julia220418 commented 2 years ago

thank you for your quick reply! but I couldn't resolve the problem...

Julia220418 commented 2 years ago

Again I write here about the situation.

I ran the demo data using Matlab code(demo_min1pipe.m) and received an error message.

Error using intra_section Expected input number 1, I, to be non-NaN.

Error in frame_reg (line 92) m = intra_section(m, stt, stp, pixs, scl, sigma_x, sigma_f, sigma_d, flag, maskc);

Error in min1pipe (line 109) [m, corr_score, raw_score, scl, imaxy] = frame_reg(m, imaxy1, se, Fsi_new, pixs, scl, sigma_x, sigma_f, sigma_d);

Error in demo_min1pipe (line 15) [fname, frawname, fregname] = min1pipe(Fsi, Fsi_new, [], [], ismc, flag);

I refered to #66 but it didn't solve my problem. Then, I checked the variables expressed in the error message, but I couldn't find NaN data. I'm wondering why this error occured with demo data...

I hope you will help me.

Julia

JinghaoLu commented 2 years ago

@Julia220418 Did you install all required toolboxes? If this is the error message regarding the demo video, it is pretty likely that there is something wrong with the setup.

Julia220418 commented 2 years ago

Hi, I resolve my problem. I reinstalled MIN1PIPE code and it worked out well. I'm sorry that I took your time. Thank you very much.

JinghaoLu commented 2 years ago

@Julia220418 Good to know that. Let me know if you come across any other issue.