pysted.temporal.Ensemble
- class pysted.temporal.Ensemble(roi=((0, 0), (256, 256)))
Creates an
Ensemble
object which is responsible to handle different objects that are based on a Nodes objectEnsemble.append
(obj)Appends the
obj
to thenEnsemble
Ensemble.generate_objects_dict
([obj_type])Creates a dictionnary containing the pixels corresponding to the objects in the frame.
Ensemble.generate_sequence
(num_frames)Generates the sequence of frames of the
Ensemble
Applies the reset_force to all objects of the
Ensemble
Applies the reset_force to all objects of the
Ensemble
Ensemble.return_frame
([image])Creates the frame of the current state of the
Ensemble
Ensemble.show
([ax])Implements a
show
function of the ensembleEnsemble.spawn
([prob])Implements a
spawn
function to randomly spawn synapsesEnsemble.update
([prob, force, jitter])Updates all objects in the
Ensemble
.