<div dir="ltr">Hi Andreas,<div><br></div><div>I think the issue had to do with the duration of the first event being recorded as 'NaN,' but I'm not entirely sure.  I've copied Javier Lopez-Calderon who programs/designs ERPLAB and might be able to more thoroughly describe the issue we encountered.  Javier, can you describe why this event code at the beginning of the Brain Products data files was causing issues with the ERPLAB filter?  </div>
<div><br></div><div>Thanks!</div><div>-Emily</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 9:10 AM, Andreas Widmann <span dir="ltr"><<a href="mailto:widmann@uni-leipzig.de" target="_blank">widmann@uni-leipzig.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Emily,<br>
<br>
> Thanks for the response!  I think we have resolved this issue (or figured out a work around, at least).  For some reason I was getting a 'boundary' code at the beginning of my imported EEG files (using the File > Import data > Using EEGLAB functions and plugins > From Brain Vis. rec .vhdr file option), with a duration of 'NaN.‘<br>

The boundary event corresponds to the „New segment“ marker (correctly) set by default by BrainVision Recorder for the first sample of each segment (also the first one) of the recording. This event should not cause any problems for filtering. Also other recording software as e.g. Biosemi ActiView sets these markers (unfortunately the EEGLAB bdfimport plugin does not import them at all, even if the marker is not at the beginning of the file).<br>

<div class=""><br>
> This was causing errors in the filter I was using in ERPLAB related to aligning the sampling points, and this was causing ICA to not run properly.<br>
</div>What kind of problem causes this in the ERPLAB filter? Could you please describe what you mean by „related to aligning the sampling points“?<br>
<br>
Thanks,<br>
Andreas<br>
<div class="HOEnZb"><div class="h5"><br>
> If I remove this code from the beginning of the data file, everything works normally again.  I'm not sure why this code was appearing (there are no event codes at that time point in the EEG data file, and we did not remove any segments in this time range offline either).  I'm also exploring other import methods, using the suggestions people have been providing in response to my other post.<br>

><br>
> Please let me know if you have any additional suggestions.<br>
><br>
> Thanks!<br>
> -Emily<br>
><br>
><br>
> On Wed, Apr 16, 2014 at 11:10 AM, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>> wrote:<br>
> Dear Emily,<br>
><br>
> I can think of multiple reasons, such as severe rank reduction, huge artifacts, continuous zeros, etc etc... to diagnose it I need to ask you to send me a sample data to reproduce the problem. Are you willing to do it?<br>

><br>
> Makoto<br>
><br>
><br>
> 2014-04-09 16:17 GMT-07:00 Emily Kappenman <<a href="mailto:eskappenman@ucdavis.edu">eskappenman@ucdavis.edu</a>>:<br>
> Hi all,<br>
><br>
> I have been using ICA for some time now to correct eye blink artifacts in EEG data files with lots of success, but I just started using a new EEG system and am running into problems getting ICA to run properly on the files.  I am encountering the following error message: error: runica(): QUITTING - weight matrix may not be invertible!<br>

><br>
> This occurs on data files from multiple subjects, of different lengths, with different sampling rates, with different reference sites (both online and offline), etc..  Sometimes ICA will run but will require multiple separate components for eye blinks (5 or 6 out of 31 components).  The number of the components in the list that relate to the eye blinks also seems to correspond to channel numbers in a systematic way (e.g., if FP2 was channel 30 in the data set, component 30 is one of the components, etc.).<br>

><br>
> Has anyone encountered anything like this before or have any ideas what might be causing this?  Any suggestions are much appreciated!<br>
><br>
> Thanks so much!<br>
> -Emily Kappenman<br>
><br>
> --<br>
> --------------------------------------------------------------------<br>
> Emily S. Kappenman, Ph.D.<br>
> UC Davis Center for Mind and Brain<br>
> 267 Cousteau Place<br>
> Davis, CA 95618<br>
> <a href="mailto:eskappenman@ucdavis.edu">eskappenman@ucdavis.edu</a><br>
> --------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
><br>
><br>
><br>
> --<br>
> Makoto Miyakoshi<br>
> Swartz Center for Computational Neuroscience<br>
> Institute for Neural Computation, University of California San Diego<br>
><br>
><br>
><br>
> --<br>
> --------------------------------------------------------------------<br>
> Emily S. Kappenman, Ph.D.<br>
> UC Davis Center for Mind and Brain<br>
> 267 Cousteau Place<br>
> Davis, CA 95618<br>
> <a href="mailto:eskappenman@ucdavis.edu">eskappenman@ucdavis.edu</a><br>
> --------------------------------------------------------------------<br>
> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>--------------------------------------------------------------------<br>Emily S. Kappenman, Ph.D.<br>UC Davis Center for Mind and Brain<br>267 Cousteau Place<br>
Davis, CA 95618<br><a href="mailto:eskappenman@ucdavis.edu" target="_blank">eskappenman@ucdavis.edu</a><br>--------------------------------------------------------------------<br>
</div>