mne.channels.make_dig_montage#
- mne.channels.make_dig_montage(ch_pos=None, nasion=None, lpa=None, rpa=None, hsp=None, hpi=None, coord_frame='unknown')[source]#
Make montage from arrays.
- Parameters
- ch_pos
dict|None Dictionary of channel positions. Keys are channel names and values are 3D coordinates - array of shape (3,) - in native digitizer space in m.
- nasion
None|array, shape (3,) The position of the nasion fiducial point. This point is assumed to be in the native digitizer space in m.
- lpa
None|array, shape (3,) The position of the left periauricular fiducial point. This point is assumed to be in the native digitizer space in m.
- rpa
None|array, shape (3,) The position of the right periauricular fiducial point. This point is assumed to be in the native digitizer space in m.
- hsp
None|array, shape (n_points, 3) This corresponds to an array of positions of the headshape points in 3d. These points are assumed to be in the native digitizer space in m.
- hpi
None|array, shape (n_hpi, 3) This corresponds to an array of HPI points in the native digitizer space. They only necessary if computation of a
compute_dev_head_tis True.- coord_frame
str The coordinate frame of the points. Usually this is
'unknown'for native digitizer space. Other valid values are:'head','meg','mri','mri_voxel','mri_tal','ras','fs_tal','ctf_head', and'ctf_meg'.Note
For custom montages without fiducials, this parameter must be set to
'head'.
- ch_pos
- Returns
- montageinstance of
DigMontage The montage.
- montageinstance of