def processStimulusEvent(self, m: StimulusEvent):
    '[pre-process a StimulusEvent message ready to be inserted into the stimulus ringbuffer]\n\n        Args:\n            m (StimulusEvent): [description]\n\n        Returns:\n            [type]: [description]\n        '
    d = np.zeros((257,), dtype=np.float32)
    if ((self.stimulus_ringbuffer is not None) and (self.stimulus_timestamp is not None)):
        d[:] = self.stimulus_ringbuffer[(- 1), :]
    d[m.objIDs] = m.objState
    d[(- 1)] = m.timestamp
    if self.stimulus_preprocessor:
        d = self.stimulus_preprocessor.transform(d)
    self.stimulus_timestamp = m.timestamp
    return d
[pre-process a StimulusEvent message ready to be inserted into the stimulus ringbuffer]

Args:
    m (StimulusEvent): [description]

Returns:
    [type]: [description]
def processStimulusEvent(self, m: StimulusEvent):
    '[pre-process a StimulusEvent message ready to be inserted into the stimulus ringbuffer]\n\n        Args:\n            m (StimulusEvent): [description]\n\n        Returns:\n            [type]: [description]\n        '
    d = np.zeros((257,), dtype=np.float32)
    if ((self.stimulus_ringbuffer is not None) and (self.stimulus_timestamp is not None)):
        d[:] = self.stimulus_ringbuffer[(- 1), :]
    d[m.objIDs] = m.objState
    d[(- 1)] = m.timestamp
    if self.stimulus_preprocessor:
        d = self.stimulus_preprocessor.transform(d)
    self.stimulus_timestamp = m.timestamp
    return d