-
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
ENH Brainvision: option to add reference channel #1033
Conversation
@t3on could you have a look if you have some time? |
@@ -453,13 +473,13 @@ def _get_eeg_info(vhdr_fname, elp_fname=None, elp_names=None): | |||
|
|||
# load channel labels | |||
ch_names = ['UNKNOWN'] * n_chan | |||
cals = np.ones(n_chan) * np.nan | |||
cals = [np.nan] * n_chan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer arrays
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made an array again
Changes Unknown when pulling a54bf35 on christianmbrodbeck:bv-ref into * on mne-tools:master*. |
What exactly does this @coveralls message mean? When I run coverage brainvision.py has 89% coverage. |
Same idea as Travis, it runs a limits set of tests so it provides a guideline / check (add opposed to substitute for running tests locally). |
hey. i just gave it a review and it looks good to me. do we know why there is a discrepancy between the two coverages? |
ENH Brainvision: option to add reference channel
thanks @t3on there is a discrepancy between travis and your system as travis does not test using the sample data. |
The Brainvision EEG file does not contain data for the reference channel. However, for re-referencing one would also want to have the reference channel in the data. This patch adds the reference channel as a flat channel.