def find_stim_channel(raw):
    """ Finds the appropriate stim channel from raw.

    Heuristically just looks for STI101 or STI014.

    Parameters
    ----------
    raw : mne.io.Raw
        The raw object

    Returns
    -------
    str
        Channel name of the stimulus channel.
    """
    channels = raw.info.get('ch_names')
    if 'STI101' in channels:
        return 'STI101'
    elif 'STI 101' in channels:
        return 'STI 101'
    elif 'STI 014' in channels:
        return 'STI 014'
    elif 'STI014' in channels:
        return 'STI014'