Skip to content

Retina

Retina

A retinal layer aims to emulate the full processing pipeline of the mammalian retina, from receptors to ganglion cells.

__init__(source, shape, saccades=False, name='Retina', *args, **kwargs)

Retina initialisation.

Parameters:

Name Type Description Default
source str | int

Input source.

required
shape tuple[int, ...]

Dimensions of the visual field.

required
saccades bool

Toggle for saccadic movements.

False
name str

Layer name.

'Retina'

Raises:

Type Description
ValueError

Raised if the provided size is invalid.

TypeError

Raised if the provided source is invalid.

run()

Run the processing pipeline.