mne-tools / mne-tools/mne-python
Warning in compute covariance
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
compute_covariance(epochs) generates RuntimeWarning...
Something went wrong in the data-driven estimation of the data rank as it exceeds the theoretical rank from the info (298 > 43). Consider setting rank to "auto" or setting it explicitly as an integer.
compute_covariance(epochs, rank='full') throws ValueError as rank must be 'full' or 'info'. What exactly is the RuntimeWarning referring to? method argument input or instance of epochs if someone could clarify I'm happy to open PR to fix messaging/docs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the compute_covariance(epochs) entry point and reproduce the RuntimeWarning, comparing it with the rank='full' ValueError described in the issue. Trace which argument or estimation step emits the warning; done when its meaning and the supported rank behavior are clearly documented or communicated by the relevant messaging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100