vis.frequency.spatial_frequency_analysis
SFANALYSIS_COMPUTE Analyze reponses to spatial frequencies
% [ASSOC]=SFANALYSIS_COMPUTE(RESP)
Analyzes spatial frequency responses.
RESP is a structure list of response properties with fields:
curve | 4xnumber of spatial frequencies tested,
| curve(1,:) is spatial 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 SF
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:
'SF Response curve' | Response curve (tfs;mean;stddev;stderr)
'SF Pref' | SF w/ max response
'SF Low' | low SF with half of max response
'SF High' | high SF with half of max response
Same as above with 'blank' or 'spont' rate subtracted
'SF Low SF' | low SF with half of max response
'SF High SF' | high SF with half of max response
Difference of gaussians fit:
'SF DOG params' | 'r0 re se ri si'
'SF DOG Fit' | 1st row has SF values, 2nd has responses
'SF DOG R2' | R^2 error
'SF DOG Low' | Low cut-off, as measured with DOG
'SF DOG High' | High cut-off, as measured with DOG
'SF DOG Pref' | SF Pref, as measured with DOG
Cubic spline "Fit":
'SF spline Fit' | 1st row has SF values, 2nd has responses
'SF spline Pref' | SF Pref, as measured with spline
'SF spline Low' | Low cut-off, as measured with spline
'SF spline High' | High cut-off, as measured with spline
Movshon et al 2005 fit:
'SF MV params' | [k fc fh B]
'SF MV Fit' | First row has SF values, 2nd has responses
'SF MV R2' | R2 error.
'SF MV L50' | Low cut-off
'SF MV Pref' | SF Preference
'SF MV H50' | High cut-off