Skip to content

Add warning for bad choice of wavelet width #247

@jrudoler

Description

@jrudoler

It's easy enough to check in the filter method of MorletWaveletFilter that the combination of width, freqs, and length of eeg epoch is valid.
To be explicit, we want:
2 * width * 1 / min(freqs) <= len(timeseries.time) / samplerate
in words, the length of time must be at least twice the width of a wavelet at the lowest frequency.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions