From ce8fb8be6835341b606a82976ba2a8cb6b7508ce Mon Sep 17 00:00:00 2001 From: neukym Date: Thu, 22 Feb 2024 09:24:14 +0000 Subject: [PATCH 1/2] Changing the default arguments in the gridsearch --- invokers/run_gridsearch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/invokers/run_gridsearch.py b/invokers/run_gridsearch.py index d38b93d8..271c652e 100644 --- a/invokers/run_gridsearch.py +++ b/invokers/run_gridsearch.py @@ -48,13 +48,13 @@ def main(): help='inverse solution path') parser.add_argument('--inverse-operator-suffix', type=str, default="_ico5-3L-loose02-cps-nodepth-fusion-inv.fif", help='inverse solution suffix') - parser.add_argument('--seconds-per-split', type=float, default=0.5, + parser.add_argument('--seconds-per-split', type=float, default=1, help='seconds in each split of the recording, also maximum range of latencies being checked') - parser.add_argument('--n-splits', type=int, default=800, + parser.add_argument('--n-splits', type=int, default=400, help='number of splits to split the recording into, (set to 400/seconds_per_split for full file)') - parser.add_argument('--n-derangements', type=int, default=1, + parser.add_argument('--n-derangements', type=int, default=5, help='number of deragements for the null distribution') - parser.add_argument('--start-latency', type=float, default=-100, + parser.add_argument('--start-latency', type=float, default=-200, help='earliest latency to check in cross correlation') parser.add_argument('--emeg-t-start', type=float, default=-200, help='start of the emeg evoked files relative to the start of the function') From d9b89fefe92aea73d92f851f0c91f86bf87a3b60 Mon Sep 17 00:00:00 2001 From: neukym Date: Tue, 9 Apr 2024 13:31:14 +0100 Subject: [PATCH 2/2] Update run_gridsearch.py --- invokers/run_gridsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokers/run_gridsearch.py b/invokers/run_gridsearch.py index 271c652e..6f479470 100644 --- a/invokers/run_gridsearch.py +++ b/invokers/run_gridsearch.py @@ -52,7 +52,7 @@ def main(): help='seconds in each split of the recording, also maximum range of latencies being checked') parser.add_argument('--n-splits', type=int, default=400, help='number of splits to split the recording into, (set to 400/seconds_per_split for full file)') - parser.add_argument('--n-derangements', type=int, default=5, + parser.add_argument('--n-derangements', type=int, default=1, help='number of deragements for the null distribution') parser.add_argument('--start-latency', type=float, default=-200, help='earliest latency to check in cross correlation')