berenslab / RFEst

A Python 3 toolbox for neural receptive field estimation using splines and Gaussian priors.
https://arxiv.org/abs/2108.07537
GNU General Public License v3.0
24 stars 3 forks source link

16 make l1 and l2 invariant to difference trace lengths #18

Closed jonathanoesterle closed 2 years ago

jonathanoesterle commented 2 years ago

I replaced the sum for the gaussian with the mean. For the loglikelihood it's less obvious how to changed it, so I left it for now.

I also merged all the forwardpass code into base, because it was mostly duplicates.