ganguli-lab / nems

Neural encoding models
MIT License
7 stars 5 forks source link

NeuralEncodingModel initialization requires stim and rate to have different lengths #1

Closed nirum closed 9 years ago

nirum commented 9 years ago

Right now, the rate needs to be trimmed such that it is smaller than the stimulus by the same length as the temporal filter. This means that the user has to pre-trim the rate according to how long a temporal filter they want.

However, this is confusing and should be handled internally (in NeuralEncodingModel). The user should provide a stim and rate arrays that have the same length.