forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make stc.times read-only and stc.data writable.
Users sometimes attempt to modify an existing STC, which involved hacking the `._data` property. This commit makes `.data` writable (while performing some sanity checks). .tmin and .tstep are now also properties. Writing to them calls ._update_times(). Also fixes the time-range of stc.transform().
- Loading branch information
1 parent
6e61eb5
commit e3c3346
Showing
3 changed files
with
168 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.