[Eeglablist] pop_eegplot v12 0 2 4b

Mikołaj Magnuski imponderabilion at gmail.com
Thu Sep 26 07:00:42 PDT 2013


I thought I'd add an example and
correct my previous explanation:

I should have written:
for each row (that is segment marked for rejec-
tion) first column defines its start sample and se-
cond _column_ the end sample). This information, if sa-
ved, should be enough to recover rejections at so-
me later time.

example of removing continous signal with TMPREJ:
Having the matrix TMPREJ in workspace
you can remove the all segments marked for
rejection:
EEG = eeg_eegrej(EEG, round (TMPREJ (:, 1:2) ) );
% and overwrite the dataset (assuming the current one is the one TMPREJ
refers to):
[ALEEG, EEG, CURRENTSET] = pop_newset (ALLEEG, EEG, CURRENTSET, 'gui',
'off', 'overwrite', 'on');
26 wrz 2013 14:13, "Mikołaj Magnuski" <imponderabilion at gmail.com>
napisał(a):

> Dear Eduardo,
>
> TMPREJ is M by N matrix
> where M (the first dimension) is equal to number
> data segments you marked for rejection (this should
> be irrespective of your data format [continuous,
> epoched])
>
> for each row (that is segment marked for rejec-
> tion) first column defines its start sample and se-
> cond row the end sample). This information, if sa-
> ved, should be enough to recover rejections at so-
> me later time.
>
> From what I remember eeglab2fieldtrip exports eeglab
> data as if they were epoched (going through slices in
> the third dimension) and does not respect boundary
> events nor rejection info.
> Therefore if you plan to perform your analysis on epoched
> data I would epoch the data in EEGlab and only then export
> to FieldTrip (or continue analysis in EEGlab).
>
> Saving the TMPREJ for each file you process could
> be really useful - it takes much less space to save in-
> formation on what to reject than saving the whole da-
> ta with rejections applied. And if you then want to cha-
> nge the highpass filtering for example - you filter you ori-
> ginal data and apply the rejections from TMPREJ.
> 25 wrz 2013 19:57, "Eduardo Schenberg" <edueeg at gmail.com> napisał(a):
>
>> Hi Stephania, thanks for your attention to my question.
>>
>> Yes I am trying this on continuous data...
>>
>> If I reject segments (using reject = 1), it stores the rejected data at
>> TMPREJ, but I could not figure out what exactly is the format of this
>> TMPREJ so I could manually recover the rejected samples in each segment.
>> Could you please give me a help on this way of doing it?
>>
>> Another question is: if I export my data to fieldtrip using
>> eeglab2fieldtrip, does it recognizes the rejected segments and the fact
>> that the data has gaps where these segments were rejected?
>>
>> many thanks
>>
>> eduardo
>>
>>
>> Em 24/09/2013, às 04:04, sf.ang at libero.it escreveu:
>>
>> > Hi Eduardo,
>> > I tried with the new eeglab version and it works. pop_eegplot( EEG, 1,
>> 1, 0);
>> > Maybe try from the GUI: tools->reject data epochs->reject by inspection
>> > (leaving the first option that comes out checked).
>> > this only works for epoched data though, maybe you're tryig it on
>> continuous
>> > data?
>> > Best,
>> > Stefania F.
>> >
>> >
>> >> ----Messaggio originale----
>> >> Da: edueeg at gmail.com
>> >> Data: 19/09/2013 22.13
>> >> A: "EEGLAB List"<eeglablist at sccn.ucsd.edu>
>> >> Ogg: [Eeglablist] pop_eegplot v12 0 2 4b
>> >>
>> >> Hello
>> >>
>> >> I'm using EEGLab v12.0.2.4b and trying to use the reject feature of
>> > pop_eegplot without actually rejecting the marked data
>> >>
>> >> According to this function help I should set 'reject' to zero, and then
>> > instead of a "reject button" on the GUI i should get an "update marks"
>> button,
>> > which would not delete the marked samples, but this button never
>> appears to me
>> >>
>> >> Is there something wrong with this function in this version, or am I
>> doing
>> > something wrong?
>> >>
>> >> many thanks
>> >>
>> >> eduardo schenberg
>> >> _______________________________________________
>> >> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> >> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> >> For digest mode, send an email with the subject "set digest mime" to
>> > eeglablist-request at sccn.ucsd.edu
>> >>
>> >
>>
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130926/55e437de/attachment.html>


More information about the eeglablist mailing list