Skip to content

Commit

Permalink
Rename gridsearch.gridsearch to gridsearch.plain
Browse files Browse the repository at this point in the history
  • Loading branch information
caiw committed Jan 12, 2024
1 parent d699b85 commit 9a5f023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion invokers/run_gridsearch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path
import argparse
from kymata.gridsearch.gridsearch import do_gridsearch
from kymata.gridsearch.plain import do_gridsearch
from kymata.io.functions import load_function
from kymata.io.mne import load_emeg_pack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#from kymata.entities.expression import SensorExpressionSet, p_to_logp
import matplotlib.pyplot as plt


def do_gridsearch(
emeg_values: NDArray, # chan x time
function: Function,
Expand All @@ -19,7 +20,7 @@ def do_gridsearch(
n_derangements: int = 1,
seconds_per_split: float = 0.5,
n_splits: int = 800,
ave_mode: str = 'ave', # either ave or add, for averaging over input files or adding in as extra evidence
ave_mode: str = 'ave', # either ave or add, for averaging over input files or adding in as extra evidence
add_autocorr: bool = True,
plot_name: str = 'example'
):
Expand Down

0 comments on commit 9a5f023

Please sign in to comment.