Skip to content

vis.revcorr.sta_pipeline

 STA_PIPELINE - generate the sta, p-value array, rescaled matrix
 for plotting and corresponding color map. 

  [STA,P_VAL, RESCALE, CMAP] = vis.revcorr.sta_pipeline(S,KX_V, KY_V, FRAMETIMES, SPIKETIMES, T_COORDS, X_COORDS, Y_COORDS)

  Inputs:
  s - an array of the values of S for each stimulus
  kx_v - an array of the values of kx for each stimulus
  ky_v - an array of the values of ky for each stimulus
  frameTimes - an array of the time point for each frame
  spiketimes - an array of the time point for each spike
  T_coords - an array of reconstruction time
  X_coords - the size of the Hartley stimulus 
  Y_coords - the size of the Hartley stimulus