| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
param.parameterized.Parameterized --+
|
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 |
|||
|
|||
|
Inherited from |
|||
|
|||
src_ports = list() -> new list list(sequence) -> new list initialized from sequence's items |
|||
period = param.Number(default= 1, bounds= (0, None), doc= "DelDelay (in Simulation time) between generating new input patterns. |
|||
phase = param.Number(default= 0.05, doc= Delay after the start of the Simulation (at time zero) before generating an input pattern. |
|||
input_generator = param.ClassSelector(PatternGenerator, defaulSpecifies a particular PatternGenerator type to use when creating patterns. |
|||
output_fn = param.ClassSelector(OutputFn, default= IdentityOF(Output function to apply (if apply_output_fn is true) to this Sheet's activity. |
|||
apply_output_fn = param.Boolean(default= True, doc= Whether to apply the output_fn after computing an Activity matrix. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
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.
|
|
|
|||
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.0.1 on Sun Oct 12 22:26:36 2008 | http://epydoc.sourceforge.net |