Package topo :: Package command :: Module analysis :: Class measure_hue_pref
[hide private]
[frames] | no frames]

Class measure_hue_pref

source code


Measure a hue preference map by collating the response to patterns.
Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
_feature_list(self, p)
Return the list of features to vary; must be implemented by each subclass.
source code

Inherited from analysis.featureresponses.MeasureResponseCommand: __call__

Inherited from param.parameterized.ParameterizedFunction: __reduce__, __str__, script_repr

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, 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 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]
  num_phase = param.Integer(default= 12)
Number of phases to test.
  num_hue = param.Integer(default= 8, bounds= (1, None), softbou...
Number of hues to test.
  subplot = param.String("Hue")
Name of map to register as a subplot, if any.
  static_parameters = param.List(default= [])
List of names of parameters of this class to pass to the pattern_presenter as static parameters, i.e.
  __params = {'apply_output_fns': <param.Boolean object at 0xb20...
dict() -> new empty dictionary.
  name = <param.parameterized.String object at 0xb3157ac>
String identifier for this object.

Inherited from analysis.featureresponses.SinusoidalMeasureResponseCommand: frequencies, num_orientation, pattern_presenter, scale

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

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_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]

num_hue

Number of hues to test.
Value:
param.Integer(default= 8, bounds= (1, None), softbounds= (1, 48), doc= "Number of \
hues to test.")

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= [])

__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 0xb20d06c>,
 'display': <param.Boolean object at 0xb20df2c>,
 'duration': <param.Number object at 0xb30ff5c>,
 'frequencies': <param.List object at 0xb20dbec>,
 'generator_sheets': <param.List object at 0xb20d2ec>,
 'name': <param.parameterized.String object at 0xb3157ac>,
 'num_hue': <param.Integer object at 0xb3202fc>,
 'num_orientation': <param.Integer object at 0xb32002c>,
...