| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
operator = param.Parameter(numpy.multiply)Binary Numpy function used to combine the individual patterns. |
|||
gaussian_size = param.Number(default= 1.0, doc= "Size of the GSize of the Gaussian pattern. |
|||
aspect_ratio = param.Number(default= 1.0, bounds= (0.0, None),Ratio of gaussian width to height; width is gaussian_size*aspect_ratio. |
|||
name = <param.parameterized.String object at 0xb589b2c>String identifier for this object. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Call the subclass's '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.
|
|
|||
operatorBinary Numpy function used to combine the individual patterns. Any binary Numpy array "ufunc" returning the same type of array as the operands and supporting the reduce operator is allowed here. Supported ufuncs include: add subtract multiply divide maximum minimum remainder power logical_and logical_or logical_xor The most useful ones are probably add and maximum, but there are uses for at least some of the others as well (e.g. to remove pieces of other patterns). You can also write your own operators, by making a class that has a static method named "reduce" that returns an array of the same size and type as the arrays in the list. For example:
class return_first(object):
@staticmethod
def reduce(x):
return x[0]
|
gaussian_sizeSize of the Gaussian pattern.
|
aspect_ratioRatio of gaussian width to height; width is gaussian_size*aspect_ratio.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:42 2010 | http://epydoc.sourceforge.net |