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 in inter_section (line 163): Unable to perform assignment because the left and right sides have a different number of elements #61

Open socksandlfipflops opened 3 years ago

socksandlfipflops commented 3 years ago

Hi, I'm getting the following error:

Unable to perform assignment because the left and right sides have a different number of elements.

Error in inter_section (line 163) idbatch(i) = idtmp;

Error in frame_reg (line 107) m = inter_section(m, sttn, se, pixs, scl, sigma_x, sigma_f, sigma_d, maskc);

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

For info, I'm loading 4 .mat files containing the sequential videos. Not sure what's going on here... Thanks for any help in advance!

JinghaoLu commented 2 years ago

Sorry for the late reply. If you still have interest, I can take a look at the data you have the error with. You can share the demo data with me through cloud (any way you prefer). Thanks!

socksandlfipflops commented 2 years ago

Hi,

Thanks for getting back in touch!

Absolutely, I'm happy to send you the data we are using! Are you ok with WeTransfer, or would you prefer something else?

Cheers, Rob

On Mon, 30 Aug 2021 at 05:32, JinghaoLu @.***> wrote:

Sorry for the late reply. If you still have interest, I can take a look at the data you have the error with. You can share the demo data with me through cloud (any way you prefer). Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JinghaoLu/MIN1PIPE/issues/61#issuecomment-908019965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVCKV3DFE5OLYM52H4IBZX3T7MCT7ANCNFSM5BO26UYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

JinghaoLu commented 2 years ago

Yeah as long as I can download, whichever way you prefer. And also I would need the set of parameters you used.