Package topo :: Package pattern :: Module basic :: Class SigmoidedDoG
[hide private]
[frames] | no frames]

Class SigmoidedDoG

source code


Sigmoid multiplicatively combined with a difference of Gaussians, such that one part of the plane can be the mirror image of the other.
Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
function(self, p)
Function to draw a pattern that will then be scaled and rotated.
source code

Inherited from base.patterngenerator.PatternGenerator: __call__

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, script_repr, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

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

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  center_size = param.Number(default= 0.5, bounds= (0.0, None), ...
size parameter for the center Gaussian.
  center_aspect_ratio = param.Number(default= 2.0, bounds= (0.0,...
aspect_ratio parameter for the center Gaussian.
  surround_size = param.Number(default= 1.0, bounds= (0.0, None)...
size parameter for the surround Gaussian.
  surround_aspect_ratio = param.Number(default= 1.0, bounds= (0....
aspect_ratio parameter for the surround Gaussian.
  sigmoid_slope = param.Number(default= 10.0, bounds= (None, Non...
slope parameter for the Sigmoid.
  sigmoid_x = param.Number(default= 0.0, bounds= (None, None), s...
x parameter for the Sigmoid.
  sigmoid_y = param.Number(default= 0.0, bounds= (None, None), s...
y parameter for the Sigmoid.
  name = <param.parameterized.String object at 0xb1eaf6c>
String identifier for this object.

Inherited from base.patterngenerator.PatternGenerator: bounds, mask, mask_shape, offset, orientation, output_fns, position, scale, size, x, xdensity, y, ydensity

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

function(self, p)

source code 

Function to draw a pattern that will then be scaled and rotated.

Instead of implementing __call__ directly, PatternGenerator subclasses will typically implement this helper function used by __call__, because that way they can let __call__ handle the scaling and rotation for them. Alternatively, __call__ itself can be reimplemented entirely by a subclass (e.g. if it does not need to do any scaling or rotation), in which case this function will be ignored.

Overrides: base.patterngenerator.PatternGenerator.function
(inherited documentation)

Class Variable Details [hide private]

center_size

size parameter for the center Gaussian.
Value:
param.Number(default= 0.5, bounds= (0.0, None), softbounds= (0.0, 5.0), precedence\
= (1), doc= """size parameter for the center Gaussian.""")

center_aspect_ratio

aspect_ratio parameter for the center Gaussian.
Value:
param.Number(default= 2.0, bounds= (0.0, None), softbounds= (0.0, 5.0), precedence\
= (2), doc= """aspect_ratio parameter for the center Gaussian.""")

surround_size

size parameter for the surround Gaussian.
Value:
param.Number(default= 1.0, bounds= (0.0, None), softbounds= (0.0, 5.0), precedence\
= (3), doc= """size parameter for the surround Gaussian.""")

surround_aspect_ratio

aspect_ratio parameter for the surround Gaussian.
Value:
param.Number(default= 1.0, bounds= (0.0, None), softbounds= (0.0, 5.0), precedence\
= (4), doc= """aspect_ratio parameter for the surround Gaussian.""")

sigmoid_slope

slope parameter for the Sigmoid.
Value:
param.Number(default= 10.0, bounds= (None, None), softbounds= (-100.0, 100.0), pre\
cedence= (5), doc= """slope parameter for the Sigmoid.""")

sigmoid_x

x parameter for the Sigmoid.
Value:
param.Number(default= 0.0, bounds= (None, None), softbounds= (-1.0, 1.0), preceden\
ce= (6), doc= """x parameter for the Sigmoid.""")

sigmoid_y

y parameter for the Sigmoid.
Value:
param.Number(default= 0.0, bounds= (None, None), softbounds= (-1.0, 1.0), preceden\
ce= (7), doc= """y parameter for the Sigmoid.""")