| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.simulation.EventProcessor --+
|
object --+ |
| |
base.sheetcoords.SheetCoordinateSystem --+
|
base.sheet.Sheet --+
|
GeneratorSheet
Sheet for generating a series of 2D patterns.
Typically generates the patterns by choosing parameters from a random distribution, but can use any mechanism.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
src_ports = list() -> new list list(sequence) -> new list initialized from sequence's items |
|||
period = Number(default= 1, bounds= (0, None), doc= "Delay (inDelay (in Simulation time) between generating new input patterns. |
|||
phase = Number(default= 0.05, doc= Delay after the start of the Simulation (at time zero) before generating an input pattern. |
|||
input_generator = <topo.base.parameterclasses.ClassSelectorParSpecifies a particular PatternGenerator type to use when creating patterns. |
|||
output_fn = <topo.base.parameterclasses.ClassSelectorParameterOutput function to apply (if apply_output_fn is true) to this Sheet's activity. |
|||
apply_output_fn = <topo.base.parameterclasses.BooleanParameterWhether to apply the output_fn after computing an Activity matrix. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Initialize this object as an EventProcessor, then also as a SheetCoordinateSystem with equal xdensity and ydensity. sheet_views is a dictionary that stores SheetViews, i.e. representations of the sheet for use by analysis or plotting code.
|
Set the input_generator, overwriting the existing one by default. If push_existing is false, the existing input_generator is discarded permanently. Otherwise, the existing one is put onto a stack, and can later be restored by calling pop_input_generator. |
Discard the current input_generator, and retrieve the previous one from the stack. Warns if no input_generator is available on the stack. |
Called by the simulation when the EventProcessor is added to the simulation. If an EventProcessor needs to have any code run when it is added to the simulation, the code can be put into this method in the subclass.
|
|
Temporarily override plasticity of medium and long term internal state. This function should be implemented by all subclasses so that it preserves the ability of the Sheet to compute activity, i.e. to operate over a short time scale, while preventing any lasting changes to the state (if new_plasticity_state=False). Any operation that does not have any lasting state, such as those affecting only the current activity level, should not be affected by this call. By default, simply saves a copy of the plastic flag to an internal stack (so that it can be restored by restore_plasticity_state()), and then sets plastic to new_plasticity_state.
|
Restores plasticity of medium and long term internal state after a override_plasticity_state call. This function should be implemented by all subclasses to remove the effect of the most recent override_plasticity_state call, i.e. to restore plasticity of any type that was overridden.
|
|
|||
periodDelay (in Simulation time) between generating new input patterns.
|
phaseDelay after the start of the Simulation (at time zero) before generating an input pattern. For a clocked, feedforward simulation, one would typically want to use a small nonzero phase and use delays less than the user-visible step size (typically 1.0), so that inputs are generated and processed before this step is complete.
|
input_generatorSpecifies a particular PatternGenerator type to use when creating patterns.
|
output_fnOutput function to apply (if apply_output_fn is true) to this Sheet's activity.
|
apply_output_fnWhether to apply the output_fn after computing an Activity matrix.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:08 2008 | http://epydoc.sourceforge.net |