topo :: command :: pylabplots :: measure_size_response :: Class measure_size_response
[hide private]
[frames] | no frames]

Class measure_size_response

source code

                                    object --+                        
                                             |                        
             param.parameterized.Parameterized --+                    
                                                 |                    
         param.parameterized.ParameterizedFunction --+                
                                                     |                
      analysis.featureresponses.MeasureResponseCommand --+            
                                                         |            
analysis.featureresponses.SinusoidalMeasureResponseCommand --+        
                                                             |        
                 analysis.featureresponses.FeatureCurveCommand --+    
                                                                 |    
                        analysis.featureresponses.UnitCurveCommand --+
                                                                     |
                                                                    measure_size_response

Measure receptive field size of one unit of a sheet.

Uses an expanding circular sine grating stimulus at the preferred orientation and retinal position of the specified unit. Orientation and position preference must be calulated before measuring size response.

The curve can be plotted at various different values of the contrast (or actually any other parameter) of the stimulus. If using contrast and the network contains an LGN layer, then one would usually specify weber_contrast as the contrast_parameter. If there is no explicit LGN, then scale (offset=0.0) can be used to define the contrast. Other relevant contrast definitions (or other parameters) can also be used, provided they are defined in PatternPresenter and the units parameter is changed as appropriate.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__call__(self, **params)
Measure the response to the specified pattern and store the data in each sheet.
source code
 
_feature_list(self, p)
Return the list of features to vary; must be implemented by each subclass.
source code

Inherited from param.parameterized.ParameterizedFunction: __reduce__, script_repr

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

Inherited from param.parameterized.Parameterized (private): _add_parameter, _instantiate_param, _set_name, _setup_params

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: instance

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Static Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: __new__

Class Variables [hide private]
  size = None
The size of the pattern to present.
  static_parameters = param.List(default= ["orientation", "x", "...
List of names of parameters of this class to pass to the pattern_presenter as static parameters, i.e.
  num_sizes = param.Integer(default= 10, bounds= (1, None), soft...
Number of different sizes to test.
  max_size = param.Number(default= 1.0, bounds= (0.1, None), sof...
Maximum extent of the grating
  x_axis = param.String(default= 'size', constant= True)
Parameter to use for the x axis of tuning curves.
  __params = {'apply_output_fns': <param.Boolean object at 0xb22...
dict() -> new empty dictionary.
  name = <param.parameterized.String object at 0xb245994>
String identifier for this object.

Inherited from analysis.featureresponses.UnitCurveCommand: coords, pattern_presenter

Inherited from analysis.featureresponses.FeatureCurveCommand: curve_parameters, num_orientation, sheet, units

Inherited from analysis.featureresponses.SinusoidalMeasureResponseCommand: frequencies, num_phase, scale

Inherited from analysis.featureresponses.MeasureResponseCommand: apply_output_fns, display, duration, generator_sheets, offset, sheet_views_prefix, subplot, weighted_average

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, **params)
(Call operator)

source code 
Measure the response to the specified pattern and store the data in each sheet.
Overrides: param.parameterized.ParameterizedFunction.__call__

_feature_list(self, p)

source code 
Return the list of features to vary; must be implemented by each subclass.
Overrides: analysis.featureresponses.MeasureResponseCommand._feature_list
(inherited documentation)

Class Variable Details [hide private]

static_parameters

List of names of parameters of this class to pass to the pattern_presenter as static parameters, i.e. values that will be fixed to a single value during measurement.
Value:
param.List(default= ["orientation", "x", "y"])

num_sizes

Number of different sizes to test.
Value:
param.Integer(default= 10, bounds= (1, None), softbounds= (1, 50), doc= "Number of\
 different sizes to test.")

max_size

Maximum extent of the grating
Value:
param.Number(default= 1.0, bounds= (0.1, None), softbounds= (1, 50), doc= "Maximum\
 extent of the grating")

__params

dict() -> new empty dictionary.
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs.
dict(seq) -> new dictionary initialized as if via:
    d = {}
    for k, v in seq:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

Value:
{'apply_output_fns': <param.Boolean object at 0xb22c56c>,
 'coords': <param.List object at 0xb22c22c>,
 'curve_parameters': <param.parameterized.Parameter object at 0xb233374>,
 'display': <param.Boolean object at 0xb22cbac>,
 'duration': <param.Number object at 0xb235734>,
 'frequencies': <param.List object at 0xb22c0ac>,
 'generator_sheets': <param.List object at 0xb22c06c>,
 'max_size': <param.Number object at 0xb0c141c>,
...