Package topo :: Package analysis :: Module vision
[hide private]
[frames] | no frames]

Module vision

source code

Vision-specific analysis functions.

$Id: featureresponses.py 7714 2008-01-24 16:42:21Z antolikjan $


Version: $Revision: 7714 $

Classes [hide private]
  measure_and_analyze_complexity
Macro for measuring orientation preference and then analyzing its complexity.
Functions [hide private]
 
_complexity_rec(x, y, index, depth, fm)
Recurrent helper function for complexity()
source code
 
complexity(full_matrix) source code
 
compute_ACDC_orientation_tuning_curves(full_matrix, curve_label, sheet)
This function allows and alternative computation of orientation tuning curve where for each given orientation the response is computed as a maximum of AC or DC component across the phases instead of the maximum used as a standard in Topographica
source code
 
phase_preference_scatter_plot(sheet_name, diameter=0.39) source code
 
analyze_complexity(full_matrix, simple_sheet_name, complex_sheet_name, filename=None)
Compute modulation ratio for each neuron, to distinguish complex from simple cells.
source code
Variables [hide private]
  max_value = 0
  global_index = ()
  pg = TemplatePlotGroup(auto_refresh=False, category='Preferenc...
  __package__ = 'topo.analysis'
Function Details [hide private]

analyze_complexity(full_matrix, simple_sheet_name, complex_sheet_name, filename=None)

source code 

Compute modulation ratio for each neuron, to distinguish complex from simple cells.

Uses full_matrix data obtained from measure_or_pref().

If there is a sheet named as specified in simple_sheet_name, also plots its phase preference as a scatter plot.


Variables Details [hide private]

pg

Value:
TemplatePlotGroup(auto_refresh=False, category='Preference Maps', desired_maximum_\
plot_height=0, doc='Measure preference for sine grating orientation.', enforce_min\
imum_plot_height=True, integer_scaling=False, name='Orientation Preference and Com\
plexity', normalize='None', plot_hooks=[], plot_immediately=False, pre_plot_hooks=\
[measure_and_analyze_complexity(apply_output_fns=None, display=False, duration=Non\
e, frequencies=[2.3999999999999999], generator_sheets=[], max_speed=0.083333333333\
333329, name='measure_and_analyze_complexity00113', num_direction=0, num_disparity\
=1, num_hue=1, num_ocularity=1, num_orientation=4, num_phase=18, num_speeds=4, off\
...