Skip to content

vis.frequency.temporal_frequency_analysis

   TFANALYSIS_COMPUTE  Analyze reponses to temporal frequencies
  %  [ASSOC]=TFANALYSIS_COMPUTE(RESP)

   Analyzes temporal frequency responses.

   RESP is a structure list of response properties with fields:
   curve    |    4xnumber of temporal frequencies tested,
            |      curve(1,:) is temporal frequencies tested
            |      curve(2,:) is mean responses
            |      curve(3,:) is standard deviation
            |      curve(4,:) is standard error
   ind      |    cell list of individual trial responses for each TF
   spont    |    spontaneous responses [mean stddev stderr]
   spontind |    individual spontaneous responses
   Optionally:
   blank    |    response to a blank trial: [mean stddev stderr]
   blankind |    individual responses to blank


   If the function is called with no arguments, then the of associate
   names that are computed by the function is returned.

   Returns data in the form of 'associates' that can be added
   to a measured data object:
   'TF Response curve'        |   Response curve (tfs;mean;stddev;stderr)
   'TF Pref'                  |   TF w/ max response
   'TF Low'                   |   low TF with half of max response 
   'TF High'                  |   high TF with half of max response

         Same as above with 'blank' or 'spont' rate subtracted
   'TF Low TF'                |   low TF with half of max response 
   'TF High TF'               |   high TF with half of max response

   Difference of gaussians fit:
   'TF DOG params'            |   'r0 re se ri si'
   'TF DOG Fit'               |   1st row has TF values, 2nd has responses
   'TF DOG R2'                |   R^2 error
   'TF DOG Low'               |   Low cut-off, as measured with DOG
   'TF DOG High'              |   High cut-off, as measured with DOG
   'TF DOG Pref'              |   TF Pref, as measured with DOG

   Cubic spline "Fit":
   'TF spline Fit'            |   1st row has TF values, 2nd has responses
   'TF spline Pref'           |   TF Pref, as measured with spline
   'TF spline Low'            |   Low cut-off, as measured with spline
   'TF spline High'           |   High cut-off, as measured with spline