Plot head, sensor, and source space alignment in 3D. Parameters ---------- %(info)s If None (default), no sensor information will be shown. %(trans)s "auto" will load trans from the FreeSurfer directory specified by ``subject`` and ``subjects_dir`` parameters. .. ve
(
info=None,
trans=None,
subject=None,
subjects_dir=None,
surfaces="auto",
coord_frame="auto",
meg=None,
eeg="original",
fwd=None,
dig=False,
ecog=True,
src=None,
mri_fiducials=False,
bem=None,
seeg=True,
fnirs=True,
show_axes=False,
dbs=True,
fig=None,
interaction="terrain",
sensor_colors=None,
*,
sensor_scales=None,
show_channel_names=False,
verbose=None,
)
| 529 | |
| 530 | @verbose |
| 531 | def plot_alignment( |
| 532 | info=None, |
| 533 | trans=None, |
| 534 | subject=None, |
| 535 | subjects_dir=None, |
| 536 | surfaces="auto", |
| 537 | coord_frame="auto", |
| 538 | meg=None, |
| 539 | eeg="original", |
| 540 | fwd=None, |
| 541 | dig=False, |
| 542 | ecog=True, |
| 543 | src=None, |
| 544 | mri_fiducials=False, |
| 545 | bem=None, |
| 546 | seeg=True, |
| 547 | fnirs=True, |
| 548 | show_axes=False, |
| 549 | dbs=True, |
| 550 | fig=None, |
| 551 | interaction="terrain", |
| 552 | sensor_colors=None, |
| 553 | *, |
| 554 | sensor_scales=None, |
| 555 | show_channel_names=False, |
| 556 | verbose=None, |
| 557 | ): |
| 558 | """Plot head, sensor, and source space alignment in 3D. |
| 559 | |
| 560 | Parameters |
| 561 | ---------- |
| 562 | %(info)s If None (default), no sensor information will be shown. |
| 563 | %(trans)s "auto" will load trans from the FreeSurfer directory |
| 564 | specified by ``subject`` and ``subjects_dir`` parameters. |
| 565 | |
| 566 | .. versionchanged:: 0.19 |
| 567 | Support for 'fsaverage' argument. |
| 568 | %(subject)s Can be omitted if ``src`` is provided. |
| 569 | %(subjects_dir)s |
| 570 | surfaces : str | list | dict |
| 571 | Surfaces to plot. Supported values: |
| 572 | |
| 573 | * scalp: one of 'head', 'outer_skin' (alias for 'head'), |
| 574 | 'head-dense', or 'seghead' (alias for 'head-dense') |
| 575 | * skull: 'outer_skull', 'inner_skull', 'brain' (alias for |
| 576 | 'inner_skull') |
| 577 | * brain: one of 'pial', 'white', 'inflated', or 'brain' |
| 578 | (alias for 'pial'). |
| 579 | |
| 580 | Can be dict to specify alpha values for each surface. Use None |
| 581 | to specify default value. Specified values must be between 0 and 1. |
| 582 | for example:: |
| 583 | |
| 584 | surfaces=dict(brain=0.4, outer_skull=0.6, head=None) |
| 585 | |
| 586 | Defaults to 'auto', which will look for a head surface and plot |
| 587 | it if found. |
| 588 |