Package topo :: Package analysis :: Module featureresponses :: Class SingleInputResponseCommand
[hide private]
[frames] | no frames]

Class SingleInputResponseCommand

source code


A callable Parameterized command for measuring the response to input on a specified Sheet.

Note that at present the input is actually presented to all input sheets; the specified Sheet is simply used to determine various parameters. In the future, it may be modified to draw the pattern on one input sheet only.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]

Inherited from MeasureResponseCommand: __call__

Inherited from MeasureResponseCommand (private): _feature_list

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]
  __abstract = True
bool(x) -> bool
  input_sheet = param.ObjectSelector(default= None, doc= ...
Name of the sheet where input should be drawn.
  name = <param.parameterized.String object at 0xb20d46c>
String identifier for this object.
  offset = param.Number(default= 0.5)
Additive offset to input pattern.
  pattern_presenter = param.Callable(default= PatternPresenter(R...
Callable object that will present a parameter-controlled pattern to a set of Sheets.
  scale = param.Number(default= 30.0)
Multiplicative strength of input pattern.
  static_parameters = param.List(default= ["scale", "offset", "s...
List of names of parameters of this class to pass to the pattern_presenter as static parameters, i.e.
  weighted_average = None
Whether to compute results using a weighted average, or just discrete values.

Inherited from MeasureResponseCommand: apply_output_fns, display, duration, generator_sheets, sheet_views_prefix, subplot

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__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

input_sheet

Name of the sheet where input should be drawn.
Value:
param.ObjectSelector(default= None, doc= """
        Name of the sheet where input should be drawn.""")

pattern_presenter

Callable object that will present a parameter-controlled pattern to a set of Sheets. Needs to be supplied by a subclass or in the call. The attributes duration and apply_output_fns (if non-None) will be set on this object, and it should respect those if possible.
Value:
param.Callable(default= PatternPresenter(RawRectangle(size= 0.1, aspect_ratio= 1.0\
)))

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= ["scale", "offset", "size"])