You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only_time_range (Tuple[float,float] | None, optional): compute only a portion of the signal, defined as time range tuple (start, stop). Defaults to None.
286
288
bin_seconds (float | None, optional): split the resulting WTC in time bins for balancing weights. Defaults to None.
287
-
period_cuts (List[float] | None, optional): split the resulting WTC in period/frequency bins for balancing weights and finer analysis. Defaults to None.
289
+
period_cuts (List[float] | None, optional): split the resulting WTC in period/frequency bins for balancing weights and finer analysis. Use this OR frequency_cuts, not both. Defaults to None.
290
+
frequency_cuts (List[float] | None, optional): split the resulting WTC in period/frequency bins for balancing weights and finer analysis. Use this OR period_cuts, not both. Defaults to None.
288
291
verbose (bool, optional): verbose flag. Defaults to False.
289
292
with_intra (bool, optional): compute intra-subject as well. Defaults to False.
290
293
downsample (int | None, optional): downsample in time the resulting WTC. Useful to save memory space and faster display. Defaults to None.
@@ -296,23 +299,35 @@ def compute_wtcs(
296
299
ifwaveletisNone:
297
300
wavelet=ComplexMorletWavelet()
298
301
302
+
ifperiod_cutsisnotNoneandfrequency_cutsisnotNone:
303
+
raiseRuntimeError('Cannot specify both period_cuts and frequency_cuts')
0 commit comments