'Render raw (only text).'

def _render_raw(self, raw_fname):

    global_id = self._get_id()
    caption = (u'Raw    :    %s' % raw_fname)
    raw = Raw(raw_fname)
    n_eeg = len(pick_types(raw.info, meg=False, eeg=True))
    n_grad = len(pick_types(raw.info, meg='grad'))
    n_mag = len(pick_types(raw.info, meg='mag'))
    pick_eog = pick_types(raw.info, meg=False, eog=True)
    if (len(pick_eog) > 0):
        eog = ',    '.join(np.array(raw.info['ch_names'])[pick_eog])
    else:
        eog = 'Not    available'
    pick_ecg = pick_types(raw.info, meg=False, ecg=True)
    if (len(pick_ecg) > 0):
        ecg = ',    '.join(np.array(raw.info['ch_names'])[pick_ecg])
    else:
        ecg = 'Not    available'
    meas_date = raw.info['meas_date']
    if (meas_date is not None):
        meas_date = dt.fromtimestamp(meas_date[0]).strftime('%B    %d,    %Y')
    tmin = (raw.first_samp / raw.info['sfreq'])
    tmax = (raw.last_samp / raw.info['sfreq'])
    html = raw_template.substitute(div_klass='raw', id=global_id, caption=caption, info=raw.info, meas_date=meas_date, n_eeg=n_eeg, n_grad=n_grad, n_mag=n_mag, eog=eog, ecg=ecg, tmin=tmin, tmax=tmax)
    return html
