Morph source space data from one subject to another. .. note:: This class should not be instantiated directly via ``mne.SourceMorph(...)``. Instead, use one of the functions listed in the See Also section below. Parameters ---------- subject_from : str | Non
| 368 | |
| 369 | @fill_doc |
| 370 | class SourceMorph: |
| 371 | """Morph source space data from one subject to another. |
| 372 | |
| 373 | .. note:: |
| 374 | This class should not be instantiated directly via |
| 375 | ``mne.SourceMorph(...)``. Instead, use one of the functions |
| 376 | listed in the See Also section below. |
| 377 | |
| 378 | Parameters |
| 379 | ---------- |
| 380 | subject_from : str | None |
| 381 | Name of the subject from which to morph as named in the SUBJECTS_DIR. |
| 382 | subject_to : str | array | list of array |
| 383 | Name of the subject on which to morph as named in the SUBJECTS_DIR. |
| 384 | The default is 'fsaverage'. If morphing a volume source space, |
| 385 | subject_to can be the path to a MRI volume. Can also be a list of |
| 386 | two arrays if morphing to hemisphere surfaces. |
| 387 | kind : str | None |
| 388 | Kind of source estimate. E.g. ``'volume'`` or ``'surface'``. |
| 389 | zooms : float | tuple |
| 390 | See :func:`mne.compute_source_morph`. |
| 391 | niter_affine : tuple of int |
| 392 | Number of levels (``len(niter_affine)``) and number of |
| 393 | iterations per level - for each successive stage of iterative |
| 394 | refinement - to perform the affine transform. |
| 395 | niter_sdr : tuple of int |
| 396 | Number of levels (``len(niter_sdr)``) and number of |
| 397 | iterations per level - for each successive stage of iterative |
| 398 | refinement - to perform the Symmetric Diffeomorphic Registration (sdr) |
| 399 | transform :footcite:`AvantsEtAl2008`. |
| 400 | spacing : int | list | None |
| 401 | See :func:`mne.compute_source_morph`. |
| 402 | smooth : int | str | None |
| 403 | See :func:`mne.compute_source_morph`. |
| 404 | xhemi : bool |
| 405 | Morph across hemisphere. |
| 406 | morph_mat : scipy.sparse.csr_array |
| 407 | The sparse surface morphing matrix for spherical surface |
| 408 | based morphing :footcite:`GreveEtAl2013`. |
| 409 | vertices_to : list of ndarray |
| 410 | The destination surface vertices. |
| 411 | shape : tuple |
| 412 | The volume MRI shape. |
| 413 | affine : ndarray |
| 414 | The volume MRI affine. |
| 415 | pre_affine : instance of dipy.align.AffineMap |
| 416 | The transformation that is applied before the before ``sdr_morph``. |
| 417 | sdr_morph : instance of dipy.align.DiffeomorphicMap |
| 418 | The class that applies the symmetric diffeomorphic registration |
| 419 | (SDR) morph. |
| 420 | src_data : dict |
| 421 | Additional source data necessary to perform morphing. |
| 422 | vol_morph_mat : scipy.sparse.csr_array | None |
| 423 | The volumetric morph matrix, if :meth:`compute_vol_morph_mat` |
| 424 | was used. |
| 425 | %(verbose)s |
| 426 | |
| 427 | See Also |
no outgoing calls
no test coverage detected