|
@@ -1,26 +0,0 @@
|
|
|
-%Guide for performing a linear-nonlinear model (LN-model)
|
|
|
-%analysis from voltage recordings of bipolar cells (BC) under spatiotemporal white noise
|
|
|
-%Check out the Documentation_Data.pdf, which contains relevant information
|
|
|
-%for analysing the white noise stimulus
|
|
|
-%check also the paper from Chichilnisky, E.J. (2001). 'A simple white noise
|
|
|
-%analysis of neuronal light responses', Network, 12, 199-213.
|
|
|
-%it explains the LN-model for spiking neurons nicely! Here we adapted this
|
|
|
-%method to non-spiking neurons (continous voltage signal).
|
|
|
-
|
|
|
-clear;
|
|
|
-close all;
|
|
|
-
|
|
|
-%% First LN-Model Component: Filter (spatiotemporal receptive field =STA)
|
|
|
-loadData='Z:\Manuscript\BC_XY_LN\Puplishing\DataAvailable\spatiotemporalWhiteNoise\'; %path of the BC files for spatiotemporal white noise (has to be adapted to your own path)
|
|
|
-filename='16d200015Comp.mat'; %BC file to analyse: for example here we use file 155200029Comp from cell 2, recorded in retina 1 on 150520
|
|
|
-pixelSize=9; %is given in the excel file LogInfo_SpatioTemporalWhiteNoise.xlsx for the corresponding cell
|
|
|
-seed=-10000; %see also documention_data.pdf
|
|
|
-Hz=25; % given in the excel file LogInfo_SpatioTemporalWhiteNoise.xlsx for the corresponding cell
|
|
|
-[STA_output]=BC_STA(loadData,filename,pixelSize,seed,Hz);%example code receptive field analysis=linear filter
|
|
|
-
|
|
|
-%% Second LN-Model Component: Output nonlinearity
|
|
|
-[NL_output]=BC_NL(STA_output);%example code output nonlinearity analysis
|
|
|
-
|
|
|
-%% Prediction of the response with the LN-Model (filter and output nonlinearity):
|
|
|
-[pred_output]=BC_pred(STA_output);%example code prediction
|
|
|
-
|