Displays a spectrogram of the provided signal

        :param signal: 1-D signal of audio
        :type signal: numpy.ndarray
        :param fs: samplerate of signal
        :type fs: int

def updateData(self, signal, fs):
        """Displays a spectrogram of the provided signal

        :param signal: 1-D signal of audio
        :type signal: numpy.ndarray
        :param fs: samplerate of signal
        :type fs: int
        """
        # use a separate thread to calculate spectrogram so UI doesn't lag
        t = threading.Thread(target=_doSpectrogram, args=(self.spec_done, (fs, signal),), kwargs=self.specgramArgs)
        t.start()