brainspy.utils.waveform#

This module is part of the utils of brains-py helps managing the waveforms of the signals sent to and received by the hardware DNPUs.

Data can exist in 3 forms: -points (e.g. (1, 2, 3)) -plateaus (e.g. (1, 1, 1, 2, 2, 2, 3, 3, 3)) -waveform (e.g (0, 0.5, 1, 1, 1, 1, 1, 1.5, 2, 2, 2, 2, 2, 2.5, 3, 3, 3, 3, 3, 1.5, 0)) A waveform transform is defined by its plateau length and slope length, in the case above 3 and 3 respectively. There are methods in this module that define the transformations between these three forms.

The goal of the waveform representation of data is so that it can be applied to DNPUs without sudden changes in input, so that the hardware is not damaged.

Classes

WaveformManager(configs)

This class helps managing the waveforms of the signals sent to and received by the hardware DNPUs (Dopant Network Processing Units).