Code and data for calculating behavioral filters.
- run
fitFilters.m
to do cross-validated fit of filters (results saved inres/
). plotFilters.m
plots the results.
minimalExample.m
contains a minimal example...
dat/
- data directory, contains annotated male-female (dat/MFcorr.mat
) and male-male (dat/MMcorr.mat
) courtship datafig/
- whereplotFilters.m
saves figures tores/
- wherefitFilters.m
saves results tosparseglm/
- code for fitting sparse GLMs from Mineault et al. (2009) downloaded from Pack lab websitesrc/
- miscellaneous helper functions