MCPcopy Create free account
hub / github.com/mne-tools/mne-python / func

Function func

mne/time_frequency/psd.py:283–292  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

281 )
282
283 def func(*args, **kwargs):
284 # swallow SciPy warnings caused by short good data spans
285 with warnings.catch_warnings():
286 warnings.filterwarnings(
287 action="ignore",
288 module="scipy",
289 category=UserWarning,
290 message=r"nperseg = \d+ is greater than input length",
291 )
292 return _func(*args, **kwargs)
293
294 else:
295 # Either no NaNs, or NaNs are not aligned across channels.

Callers 7

averageMethod · 0.70
_decomp_aggregate_maskFunction · 0.70
test_parallel_funcFunction · 0.50
test_compute_tfrFunction · 0.50
test_averaging_epochsTFRFunction · 0.50

Calls

no outgoing calls

Tested by 5

test_parallel_funcFunction · 0.40
test_compute_tfrFunction · 0.40
test_averaging_epochsTFRFunction · 0.40