1. A method for computing a spatial Fourier transform for an event-based system, comprising: receiving an asynchronous event output stream comprising an event from an event-based sensor, the event comprising an address; generating a discrete Fourier transform (DFT) matrix, the event-based sensor and the DFT matrix having same dimensions; generating an outer product of a first vector and a second vector obtained from a row and column of the DFT matrix corresponding to coordinates of the address; generating an output based on the outer product; applying the output to an event processor; and classifying the event-based on the output.