|
576 | 576 | ``` |
577 | 577 | """ |
578 | 578 |
|
| 579 | +mf_st_correlation: float = 0.98 |
| 580 | +""" |
| 581 | +The correlation limit for spatio-temporal SSS (tSSS). |
| 582 | +
|
| 583 | +???+ example "Example" |
| 584 | + ```python |
| 585 | + st_correlation = 0.98 |
| 586 | + ``` |
| 587 | +""" |
| 588 | + |
579 | 589 | mf_head_origin: Union[Literal["auto"], ArrayLike] = "auto" |
580 | 590 | """ |
581 | 591 | `mf_head_origin` : array-like, shape (3,) | 'auto' |
|
591 | 601 | ``` |
592 | 602 | """ |
593 | 603 |
|
594 | | -mf_reference_run: Optional[str] = None |
| 604 | +mf_destination: Union[Literal["reference_run"], ArrayLike] = "reference_run" |
595 | 605 | """ |
596 | 606 | Despite all possible care to avoid movements in the MEG, the participant |
597 | 607 | will likely slowly drift down from the Dewar or slightly shift the head |
598 | 608 | around in the course of the recording session. Hence, to take this into |
599 | | -account, we are realigning all data to a single position. For this, you need |
600 | | -to define a reference run (typically the one in the middle of |
601 | | -the recording session). |
| 609 | +account, we are realigning all data to a single position. For this, you can: |
602 | 610 |
|
| 611 | +1. Choose a reference run. Often one from the middle of the recording session |
| 612 | + is a good choice. Set `mf_destination = "reference_run" and then set |
| 613 | + [`config.mf_reference_run`](mne_bids_pipeline._config.mf_reference_run). |
| 614 | + This will result in a device-to-head transformation that differs between |
| 615 | + subjects. |
| 616 | +2. Choose a standard position in the MEG coordinate frame. For this, pass |
| 617 | + a 4x4 transformation matrix for the device-to-head |
| 618 | + transform. This will result in a device-to-head transformation that is |
| 619 | + the same across all subjects. |
| 620 | +
|
| 621 | + ???+ example "A Standardized Position" |
| 622 | + ```python |
| 623 | + from mne.transforms import translation |
| 624 | + mf_destination = translation(z=0.04) |
| 625 | + ``` |
| 626 | +""" |
| 627 | + |
| 628 | +mf_int_order: int = 8 |
| 629 | +""" |
| 630 | +Internal order for the Maxwell basis. Can be set to something lower (e.g., 6 |
| 631 | +or higher for datasets where lower or higher spatial complexity, respectively, |
| 632 | +is expected. |
| 633 | +""" |
| 634 | + |
| 635 | +mf_reference_run: Optional[str] = None |
| 636 | +""" |
603 | 637 | Which run to take as the reference for adjusting the head position of all |
604 | | -runs. If `None`, pick the first run. |
| 638 | +runs when [`mf_destination="reference_run"`](mne_bids_pipeline._config.mf_destination). |
| 639 | +If `None`, pick the first run. |
605 | 640 |
|
606 | 641 | ???+ example "Example" |
607 | 642 | ```python |
|
638 | 673 | ``` |
639 | 674 | """ # noqa : E501 |
640 | 675 |
|
| 676 | +mf_mc: bool = False |
| 677 | +""" |
| 678 | +If True, perform movement compensation on the data. |
| 679 | +""" |
| 680 | + |
| 681 | +mf_mc_t_step_min: float = 0.01 |
| 682 | +""" |
| 683 | +Minimum time step to use during cHPI coil amplitude estimation. |
| 684 | +""" |
| 685 | + |
| 686 | +mf_mc_t_window: Union[float, Literal["auto"]] = "auto" |
| 687 | +""" |
| 688 | +The window to use during cHPI coil amplitude estimation and in cHPI filtering. |
| 689 | +Can be "auto" to autodetect a reasonable value or a float (in seconds). |
| 690 | +""" |
| 691 | + |
| 692 | +mf_mc_gof_limit: float = 0.98 |
| 693 | +""" |
| 694 | +Minimum goodness of fit to accept for each cHPI coil. |
| 695 | +""" |
| 696 | + |
| 697 | +mf_mc_dist_limit: float = 0.005 |
| 698 | +""" |
| 699 | +Minimum distance (m) to accept for cHPI position fitting. |
| 700 | +""" |
| 701 | + |
| 702 | +mf_filter_chpi: Optional[bool] = None |
| 703 | +""" |
| 704 | +Use mne.chpi.filter_chpi after Maxwell filtering. Can be None to use |
| 705 | +the same value as [`mf_mc`][mne_bids_pipeline._config.mf_mc]. |
| 706 | +Only used when [`use_maxwell_filter=True`][mne_bids_pipeline._config.use_maxwell_filter] |
| 707 | +""" # noqa: E501 |
| 708 | + |
641 | 709 | ############################################################################### |
642 | 710 | # STIMULATION ARTIFACT |
643 | 711 | # -------------------- |
|
1125 | 1193 | ``` |
1126 | 1194 | """ |
1127 | 1195 |
|
| 1196 | +ssp_ecg_channel: Optional[str] = None |
| 1197 | +""" |
| 1198 | +Channel to use for ECG SSP. Can be useful when the autodetected ECG channel |
| 1199 | +is not reliable. |
| 1200 | +""" |
| 1201 | + |
1128 | 1202 | # Rejection based on ICA |
1129 | 1203 | # ~~~~~~~~~~~~~~~~~~~~~~ |
1130 | 1204 | ica_reject: Optional[Dict[str, float]] = None |
|
0 commit comments