mne.channels.
DigMontage
(hsp=None, hpi=None, elp=None, point_names=None, nasion=None, lpa=None, rpa=None, dev_head_t=None, dig_ch_pos=None, coord_frame=’unknown’)[source]¶Montage for digitized electrode and headshape position data.
Warning
Montages are typically loaded from a file using
read_dig_montage()
instead of instantiating
this class.
Parameters: | hsp : array, shape (n_points, 3)
hpi : array, shape (n_hpi, 3)
elp : array, shape (n_hpi, 3)
point_names : list, shape (n_elp)
nasion : array, shape (1, 3)
lpa : array, shape (1, 3)
rpa : array, shape (1, 3)
dev_head_t : array, shape (4, 4)
dig_ch_pos : dict
coord_frame : str
|
---|
See also
Notes
New in version 0.9.0.
Methods
__hash__ () <==> hash(x) |
|
compute_dev_head_t () |
Compute the Neuromag dev_head_t from matched points. |
plot ([scale_factor, show_names, show]) |
Plot a montage. |
save (fname) |
Save digitization points to FIF. |
transform_to_head () |
Transform digitizer points to Neuromag head coordinates. |
__hash__
() <==> hash(x)¶plot
(scale_factor=20, show_names=False, show=True)[source]¶Plot a montage.
Parameters: | scale_factor : float
show_names : bool
show : bool
|
---|---|
Returns: | fig : Instance of matplotlib.figure.Figure
|