typos and pylance
This commit is contained in:
@@ -25,7 +25,7 @@ from copy import deepcopy
|
||||
import multiprocessing as mp
|
||||
from itertools import compress
|
||||
from queue import Empty, Queue
|
||||
from typing import Any, Optional, Sequence, cast, Literal, Union
|
||||
from typing import Any, Optional, Sequence, cast, Literal, Union, List
|
||||
|
||||
# External library imports
|
||||
import matplotlib.pyplot as plt
|
||||
@@ -6274,10 +6274,21 @@ def _single_subject_epoch_coherence(
|
||||
# ============================================================================
|
||||
|
||||
def run_group_functional_connectivity_betas(
|
||||
haemo_dict, selected_paths, event_name, n_lines, vmin,
|
||||
*, drift_model="cosine", drift_order=1, hrf_model="glover",
|
||||
apply_gsr=True, alpha=0.05, min_participants=3, resample_freq=4.0,
|
||||
haemo_dict: dict[str, BaseRaw],
|
||||
selected_paths: List[str],
|
||||
event_name: Optional[str],
|
||||
n_lines: int,
|
||||
vmin: float,
|
||||
*,
|
||||
drift_model: str = "cosine",
|
||||
drift_order: int = 1,
|
||||
hrf_model: str = "glover",
|
||||
apply_gsr: bool = True,
|
||||
alpha: float = 0.05,
|
||||
min_participants: int = 3,
|
||||
resample_freq: float = 4.0,
|
||||
) -> None:
|
||||
|
||||
subject_results = []
|
||||
for path in selected_paths:
|
||||
raw = haemo_dict.get(path)
|
||||
@@ -6311,7 +6322,7 @@ def run_group_functional_connectivity_betas(
|
||||
|
||||
|
||||
def run_group_functional_connectivity_epochs(
|
||||
epochs_dict: dict[str | Path, Epochs],
|
||||
epochs_dict: dict[str, Epochs],
|
||||
selected_paths: list[str],
|
||||
event_name: str | None,
|
||||
n_lines: int,
|
||||
|
||||
Reference in New Issue
Block a user