Commit 93fc229
committed
DOC: Fix apply_function shape description for Epochs
The fun parameter docstring for mne.Epochs.apply_function incorrectly stated
that the array passed to the user's function when channel_wise=False has
shape (len(picks), n_times). The actual shape is (n_epochs, n_channels, n_times).
Adds a new fun_applyfun_epochs docdict entry alongside fun_applyfun_evoked
and fun_applyfun_stc, leaving the Raw docstring (where (len(picks), n_times)
is correct) untouched. Per scott-huberty's review suggestion on #13136.
Fixes #131181 parent 893b784 commit 93fc229
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
| 1977 | + | |
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1919 | 1919 | | |
1920 | 1920 | | |
1921 | 1921 | | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1922 | 1925 | | |
1923 | 1926 | | |
1924 | 1927 | | |
| |||
0 commit comments