Package topo :: Package patterns :: Module basic :: Class GaussiansCorner
[hide private]
[frames] | no frames]

Class GaussiansCorner

source code

                                  object --+        
                                           |        
base.parameterizedobject.ParameterizedObject --+    
                                               |    
          base.patterngenerator.PatternGenerator --+
                                                   |
                                                  GaussiansCorner

Two Gaussian pattern generators arranged into a corner shape.

Nested Classes [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: __metaclass__

Instance Methods [hide private]
 
__call__(self, **params_to_override)
Call the subclasses 'function' method on a rotated and scaled coordinate system.
source code

Inherited from base.patterngenerator.PatternGenerator: function

Inherited from base.parameterizedobject.ParameterizedObject: __getstate__, __init__, __repr__, __setstate__, __str__, as_uninitialized, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, verbose, warning

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

Class Methods [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: params, print_param_defaults

Class Variables [hide private]
  x = Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-0...
X center of the corner
  y = Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-0...
Y center of the corner
  size = Number(default= 0.5, doc= "The size of the corner")
The size of the corner
  angle = Number(default= pi/ 2, doc= "The angle of the corner")
The angle of the corner

Inherited from base.patterngenerator.PatternGenerator: bounds, mask, offset, orientation, output_fn, position, scale, xdensity, ydensity

Inherited from base.parameterizedobject.ParameterizedObject: name, print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

Call the subclasses 'function' method on a rotated and scaled coordinate system.

Creates and fills an array with the requested pattern. If called without any params, uses the values for the Parameters as currently set on the object. Otherwise, any params specified override those currently set on the object.

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

Class Variable Details [hide private]

x

X center of the corner
Value:
Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-0.5, 0.5), doc= "X center\
 of the corner")

y

Y center of the corner
Value:
Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-0.5, 0.5), doc= "Y center\
 of the corner")