|
@@ -0,0 +1,16 @@
|
|
|
+%Guide for performing a linear-nonlinear model (LN-model)
|
|
|
+%analysis from voltage recordings of bipolar cells (BC) under natural
|
|
|
+%stimuli
|
|
|
+%Check out the Documentation_Data.pdf, which contains relevant information
|
|
|
+%Check BC_mainWhiteNoise -> from here you get the filter and output
|
|
|
+%nonlinearity for performing the prediction to the movie.
|
|
|
+clear;
|
|
|
+close all;
|
|
|
+
|
|
|
+%% Prediction to the natural movies
|
|
|
+loadData='Z:\Manuscript\BC_XY_LN\Puplishing\DataAvailable\naturalMovies\'; %path of the BC files for spatiotemporal white noise (has to be adapted to your own path)
|
|
|
+filename='16d200016Comp.mat'; %BC file to analyse: for example here we use file 16d200016Comp from cell 5, recorded in retina 2 on 161219
|
|
|
+Hz=25; % given in the excel file LogInfo_NaturalMovies.xlsx for the corresponding file
|
|
|
+movienbr=4; %given in the excel file LogInfo_NaturalMovies.xlsx for the corresponding file
|
|
|
+[naturalMovie_output]=BC_predNaturalMovies(loadData,filename,movieData,Hz,STA_output,NL_output);%example code to get the prediction to natural movies from the spatiotemporal white noise LN-model
|
|
|
+
|