def _get_data(inst, return_itc):
    from ..epochs import _BaseEpochs
    from ..evoked import Evoked
    if not isinstance(inst, (_BaseEpochs, Evoked)):
        raise TypeError('inst must be Epochs or Evoked')
    if isinstance(inst, _BaseEpochs):
        data = inst.get_data()
    else:
        if return_itc:
            raise ValueError('return_itc must be False for evoked data')
        data = inst.data[np.newaxis, ...].copy()
    return data
Return the username associated with the :class:`.User`.
dataset/ETHPy150Open mne-tools/mne-python/mne/time_frequency/tfr.py/_get_data--crossover with--dataset/ETHPy150Open IvanMalison/okcupyd/okcupyd/user.py/User.username