mne_nirs.experimental_design.create_boxcar#

mne_nirs.experimental_design.create_boxcar(raw, event_id=None, stim_dur=1)[source]#

Generate boxcar representation of the experimental paradigm.

Parameters:
rawinstance of Raw

Haemoglobin data.

event_idas specified in MNE

Information about events.

stim_durNumber

The length of your stimulus.

Returns:
sarray

Returns an array for each annotation label.

Examples using mne_nirs.experimental_design.create_boxcar#

GLM Analysis (Measured)

GLM Analysis (Measured)