ucdavis / erplab

ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
http://erpinfo.org/erplab
263 stars 75 forks source link

eegchanoperGUI cannot create a new dataset without "nchan" syntax. #111

Closed elenageangu closed 4 years ago

elenageangu commented 5 years ago

Description

I am trying to interpolate bad channels with the surrounding channels using 'channel operations'. I typed in the formula following the recommendation in the manual (e.g., ch39 = (ch29 + ch38 + ch48 + ch40) / 4 ). When I click 'Run' i get the error message

"Error: eegchanoperGUI cannot create a new dataset without "nchan" syntax."

Any help in solving this is much appreciated. Elena


Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]


Expected behavior:

[What you expected to happen]


Actual behavior:

[What actually happened]


Versions

OS version [fill in]
Matlab version [fill in]
EEGLAB version [fill in]
ERPLAB version [fill in]
andrewxstewart commented 4 years ago

The syntax can be weird for 'channel operations'.

If you want to create a new, novel, dataset, have the 'Mode' set to 'Create new dataset', and then have each 'new' channel specified like: nch1 = (ch29 + ch38 + ch48 + ch40) / 4 )

Alternatively, here you probably want the 'Mode' set to 'Modify existing dataset'. You are only changing one channel. ch39 = (ch29 + ch38 + ch48 + ch40) / 4 )

chanops_mode_modify

elenageangu commented 4 years ago

Dear Andrew, many thanks for help with this. Best wishes elena

On Thu, 25 Jul 2019 at 17:59, Andrew X Stewart notifications@github.com wrote:

The syntax can be weird for 'channel operations'.

If you want to create a new, novel, dataset, have the 'Mode' set to 'Create new dataset', and then have each 'new' channel specified like: nch1 = (ch29 + ch38 + ch48 + ch40) / 4 )

Alternatively, here you probably want the 'Mode' set to 'Modify existing dataset'. You are only changing one channel. ch39 = (ch29 + ch38 + ch48 + ch40) / 4 )

[image: chanops_mode_modify] https://user-images.githubusercontent.com/5137405/61893347-b7ad7f00-aec2-11e9-80d3-c3645e7c7400.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucklab/erplab/issues/111?email_source=notifications&email_token=AMR3GUW25ZAY5U5FMTXHGCLQBHLWBA5CNFSM4H65OQD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22C2PY#issuecomment-515124543, or mute the thread https://github.com/notifications/unsubscribe-auth/AMR3GUX7GYU7DYH75K7X5YLQBHLWBANCNFSM4H65OQDQ .

-- Elena Geangu, PhD

Assistant Professor

Psychology Department (room: B003) University of York Heslington, York, YO10 5DD, UK

Email: elena.geangu@york.ac.uk Phone: 01904322865 Lab webpage https://emodevlab.com