|
@@ -1,14 +0,0 @@
|
|
|
-%Guide for the patterned spot analysis
|
|
|
-clear;
|
|
|
-close all;
|
|
|
-
|
|
|
-%% Preprocessing of the natural movie contrast signal
|
|
|
-loadData='Z:\Manuscript\BC_XY_LN\Puplishing\DataAvailable\naturalMovies\'; %path of the BC files for natural movies (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
|
|
|
-pixelSize=9; %given in the excel file LogInfo_SpatioTemporalWhiteNoise.xlsx from the white noise stimulus of the corresponding cell
|
|
|
-[movieSignal]=BC_getNaturalMovies(pixelSize);%example code to preprocess the natural movies
|
|
|
-
|
|
|
-%% Prediction of the response to the movie from the LN-model with spatiotemporal white noise
|
|
|
-[naturalMovie_output]=BC_predNaturalMovies(loadData,filename,movieSignal,STA_output,NL_output,Hz);%example code to get the prediction to natural movies from the spatiotemporal white noise LN-model
|