ShanechiLab / PyPSID

Preferential Subspace Identification Algorithm
Other
46 stars 7 forks source link

Variable 'N' is List, not Int, when input data is list of matrices #1

Closed m-nolan closed 3 years ago

m-nolan commented 3 years ago

https://github.com/ShanechiLab/PyPSID/blob/ef09f0eed9bdfb10ee3ed7b4c9bb5cf93af0b511/source/PSID/PSID.py#L264

When training a LSSM (n1 = 0, no behavioral signal) model on multi-trial data formatted as a list of 2-d numpy arrays, the fitting code throws an exception when creating empty arrays on line 264, 265.