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

Helper functions for model fitting and selection #15

Open jonathanoesterle opened 2 years ago

jonathanoesterle commented 2 years ago

Many users might not want to go into the details of RFEst and could use some wrappers that require only little expertise. A useful function could be something like this: def get_rf(stim, triggertime, trace, tracetime, method='GLM', df='auto'): -> w

This should maybe also come with the option for automated crossvalidation.

I have some code for this already in RoisPy3.