stringer-pachitariu-et-al-2018a icon indicating copy to clipboard operation
stringer-pachitariu-et-al-2018a copied to clipboard

s1 variable missing in peerPC_cov.m

Open RobertoDF opened this issue 3 years ago • 1 comments

Hi!

Thanks for making all the code available. I have a problem using peerPC_cov.m, where is the s1 variable from? I tried the second output of svdecon but it doesn't work.... https://github.com/MouseLand/stringer-pachitariu-et-al-2018a/blob/8dce0d516bb8a4b16e245b897403d76cd1d25ae7/multiDactivity/peerPC_cov.m#L75

RobertoDF avatar Mar 10 '21 12:03 RobertoDF

Looking around I found s1 defined in the SVCA function: https://github.com/MouseLand/stringer-pachitariu-et-al-2018a/blob/8dce0d516bb8a4b16e245b897403d76cd1d25ae7/multiDactivity/SVCA.m#L24-L33

If I add this definition of s1 to peerPC_cov.m the code seems to run fine but is everything correct?

RobertoDF avatar Mar 10 '21 16:03 RobertoDF