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.
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
andrate
arrays that have the same length.