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 object

Ensemble.append(obj)

Appends the obj to then Ensemble

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

Ensemble.reset_force()

Applies the reset_force to all objects of the Ensemble

Ensemble.reset_speed()

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 ensemble

Ensemble.spawn([prob])

Implements a spawn function to randomly spawn synapses

Ensemble.update([prob, force, jitter])

Updates all objects in the Ensemble.