def getMeanWaveform(self, cluster_id: int, channel_id: int):
    '\n        Returns the mean waveform and sem for a given spike train\n        on a particular channel\n\n        Parameters\n        ----------\n        cluster_id: int\n            The cluster to get the mean waveform for\n\n        Returns\n        -------\n        mn_wvs: ndarray (floats) - usually 4x50 for tetrode recordings\n            the mean waveforms\n        std_wvs: ndarray (floats) - usually 4x50 for tetrode recordings\n            the standard deviations of the waveforms\n        '
    if (self.spk_clusters is not None):
        if (cluster_id not in self.spk_clusters):
            warnings.warn('Cluster not available. Try again!')
            raise IndexError('cluster_id not available')
        x = self.getClusterWaveforms(cluster_id, channel_id)
        if (x is not None):
            return (np.mean(x, axis=0), np.std(x, axis=0))
        else:
            return None
    else:
        return None
Returns the mean waveform and sem for a given spike train
on a particular channel

Parameters
----------
cluster_id: int
    The cluster to get the mean waveform for

Returns
-------
mn_wvs: ndarray (floats) - usually 4x50 for tetrode recordings
    the mean waveforms
std_wvs: ndarray (floats) - usually 4x50 for tetrode recordings
    the standard deviations of the waveforms
def getMeanWaveform(self, cluster_id: int, channel_id: int):
    '\n        Returns the mean waveform and sem for a given spike train\n        on a particular channel\n\n        Parameters\n        ----------\n        cluster_id: int\n            The cluster to get the mean waveform for\n\n        Returns\n        -------\n        mn_wvs: ndarray (floats) - usually 4x50 for tetrode recordings\n            the mean waveforms\n        std_wvs: ndarray (floats) - usually 4x50 for tetrode recordings\n            the standard deviations of the waveforms\n        '
    if (self.spk_clusters is not None):
        if (cluster_id not in self.spk_clusters):
            warnings.warn('Cluster not available. Try again!')
            raise IndexError('cluster_id not available')
        x = self.getClusterWaveforms(cluster_id, channel_id)
        if (x is not None):
            return (np.mean(x, axis=0), np.std(x, axis=0))
        else:
            return None
    else:
        return None