stringer-pachitariu-et-al-2018a
stringer-pachitariu-et-al-2018a copied to clipboard
s1 variable missing in peerPC_cov.m
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
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?