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

Class tuning_curve

source code

                           object --+            
                                    |            
    param.parameterized.Parameterized --+        
                                        |        
param.parameterized.ParameterizedFunction --+    
                                            |    
                             PylabPlotCommand --+
                                                |
                                               tuning_curve
Known Subclasses:

Plot a tuning curve for a feature, such as orientation, contrast, or size.

The curve datapoints are collected from the curve_dict for the units at the specified coordinates in the specified sheet (where the units and sheet may be set by a GUI, using topo.analysis.featureresponses.UnitCurveCommand.sheet and topo.analysis.featureresponses.UnitCurveCommand.coords, or by hand).

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
_format_x_tick_label(self, x) source code
 
_rotate(self, seq, n=1) source code
 
_curve_values(self, i_value, j_value, curve)
Return the x, y, and x ticks values for the specified curve from the curve_dict
source code
 
_reduce_ticks(self, ticks) source code
 
__call__(self, **params) 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]
  coords = param.List(default= [(0, 0)], doc= ...
List of coordinates of units to measure.
  sheet = param.ObjectSelector(default= None, doc= ...
Name of the sheet to use in measurements.
  x_axis = param.String(default= "", doc= ...
Feature to plot on the x axis of the tuning curve
  plot_type = param.Callable(default= pylab.plot, doc= ...
Matplotlib command to generate the plot.
  unit = param.String(default= "", doc= ...
String to use in labels to specify the units in which curves are plotted.
  __abstract = True
bool(x) -> bool
  __params = {'coords': <param.List object at 0xb22c6ac>, 'file_...
dict() -> new empty dictionary.
  name = <param.parameterized.String object at 0xb23bed4>
String identifier for this object.

Inherited from PylabPlotCommand: file_dpi, file_format, filename, filename_suffix, title

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 
Overrides: param.parameterized.ParameterizedFunction.__call__

Class Variable Details [hide private]

coords

List of coordinates of units to measure.
Value:
param.List(default= [(0, 0)], doc= """
        List of coordinates of units to measure.""")

sheet

Name of the sheet to use in measurements.
Value:
param.ObjectSelector(default= None, doc= """
        Name of the sheet to use in measurements.""")

x_axis

Feature to plot on the x axis of the tuning curve
Value:
param.String(default= "", doc= """
        Feature to plot on the x axis of the tuning curve""")

plot_type

Matplotlib command to generate the plot.
Value:
param.Callable(default= pylab.plot, doc= """
        Matplotlib command to generate the plot.""")

unit

String to use in labels to specify the units in which curves are plotted.
Value:
param.String(default= "", doc= """
        String to use in labels to specify the units in which curves are plotted."\
"")

__abstract

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

Value:
True

__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:
{'coords': <param.List object at 0xb22c6ac>,
 'file_dpi': <param.Number object at 0xb0aea4c>,
 'file_format': <param.parameterized.String object at 0xb23b9cc>,
 'filename': <param.parameterized.String object at 0xb23ba04>,
 'filename_suffix': <param.parameterized.String object at 0xb23ba3c>,
 'name': <param.parameterized.String object at 0xb23bed4>,
 'plot_type': <param.Callable object at 0xb23bf44>,
 'print_level': <param.parameterized.Parameter object at 0x9fbe4fc>,
...