Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mne/data/html_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<tr>
<th>Good channels</th>
<td>{{n_mag}} magnetometer, {{n_grad}} gradiometer,
and {{n_eeg}} EEG channels</td>
{{n_eeg}} EEG channels, and {{n_fnirs}} fNIRS channels.</td>
</tr>
<tr>
<th>Bad channels</th>
Expand Down
3 changes: 2 additions & 1 deletion mne/io/meas_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ def _repr_html_(self, caption=None):
n_eeg = len(pick_types(self, meg=False, eeg=True))
n_grad = len(pick_types(self, meg='grad'))
n_mag = len(pick_types(self, meg='mag'))
n_fnirs = len(pick_types(self, meg=False, eeg=False, fnirs=True))
pick_eog = pick_types(self, meg=False, eog=True)
if len(pick_eog) > 0:
eog = ', '.join(np.array(self['ch_names'])[pick_eog])
Expand All @@ -832,7 +833,7 @@ def _repr_html_(self, caption=None):

html += info_template.substitute(
caption=caption, info=self, meas_date=meas_date, n_eeg=n_eeg,
n_grad=n_grad, n_mag=n_mag, eog=eog, ecg=ecg)
n_grad=n_grad, n_mag=n_mag, n_fnirs=n_fnirs, eog=eog, ecg=ecg)
return html


Expand Down
3 changes: 2 additions & 1 deletion tutorials/preprocessing/70_fnirs_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

This tutorial covers how to convert functional near-infrared spectroscopy
(fNIRS) data from raw measurements to relative oxyhaemoglobin (HbO) and
deoxyhaemoglobin (HbR) concentration.
deoxyhaemoglobin (HbR) concentration, view the average waveform, and
topographic representation of the response.

Here we will work with the :ref:`fNIRS motor data <fnirs-motor-dataset>`.
"""
Expand Down