-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRG: Add add_noise to simulation #5859
Conversation
@agramfort done |
Codecov Report
@@ Coverage Diff @@
## master #5859 +/- ##
==========================================
+ Coverage 88.62% 88.69% +0.06%
==========================================
Files 373 396 +23
Lines 69355 71871 +2516
Branches 11669 12071 +402
==========================================
+ Hits 61465 63744 +2279
- Misses 5037 5199 +162
- Partials 2853 2928 +75 |
ok for you @makkostya and @ngayraud ? |
ping @makkostya @ngayraud @sdeslauriers ok for you? |
Looks good! |
great ok for you too @makkostya ? |
If I understood well, the function is replacing the inst.data by simulated noise, not adding it? Just the line: |
Oops, that's a bug.
Yes internally the function makes a new view of the data array, i.e. shape |
Oops, that's a bug.
good catch then :) test seems not good enough :-)
|
Agreed :) |
@makkostya good catch! |
thx @larsoner and @makkostya / @ngayraud for taking a look. it would be great to have a tutorial soon on how to simulate data. |
One part of what we need for #5058 (comment)