Browse Source

Spatiotemporal white noise data and code

Helene Schreyer 3 years ago
parent
commit
0553787ab7

+ 1 - 1
spatiotemporalWhiteNoise/code spatiotemporal white noise/BC_NL.m

@@ -11,7 +11,7 @@ function [NL_output]=BC_NL(STA_output)
 %
 % Note: the function is built only for cells recorded without frozen frames.
 % But additional comments are made for cells with frozen frames.
-% code by HS, last modified Feb 2021
+% code by HS, last modified March 2021
 
 %-------------------------------------------------------------------------------
 %% 1. convolve zoom STA with stimulus (to get the generator signal)

+ 1 - 1
spatiotemporalWhiteNoise/code spatiotemporal white noise/BC_STA.m

@@ -19,7 +19,7 @@ function [STA_output]=BC_STA(loadData,filename,pixelSize,seed,Hz)
 %
 % Note: the function is built only for cells recorded without frozen frames.
 % But additional comments are made for cells with frozen frames.
-% code by HS, last modified Feb 2021
+% code by HS, last modified March 2021
 
 %% constants
 %OLED dimensions for regenerating the stimulus

+ 4 - 4
spatiotemporalWhiteNoise/code spatiotemporal white noise/BC_mainWhiteNoise.m

@@ -11,11 +11,11 @@ clear;
 close all;
 
 %% First LN-Model Component: Filter (spatiotemporal receptive field =STA)
-loadData='Z:\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
+loadData='Z:\spatiotemporalWhiteNoise\'; %path of the BC files for spatiotemporal white noise (has to be adapted to your own path)
+filename='155200029Comp.mat'; %BC file to analyse: for example here we use file 155200029Comp from cell 2, recorded in retina 1 on 150520
+pixelSize=12; %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
+Hz=10; % 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

+ 1 - 1
spatiotemporalWhiteNoise/code spatiotemporal white noise/BC_pred.m

@@ -13,7 +13,7 @@ function [pred_output]=BC_pred(STA_output)
 %
 % Note: the function is built only for cells recorded without frozen frames.
 % But additional comments are made for cells with frozen frames.
-% code by HS, last modified Feb 2021
+% code by HS, last modified March 2021
 
 %-------------------------------------------------------------------------------
 %% 1. recompute STA and nonlinearity without the stimulus signal that we want to predict