[Eeglablist] Saving data set changes rank

Johnson, John T. john.johnson at gatech.edu
Wed May 16 11:24:55 PDT 2018


When I load a data set, the rank of the data is 58, the same as the number of channels.
Making no changes and saving the data set with another name, the rank changes to 1.
I like saving data at various check points while preprocessing, and this change in rank can affect specifying rank for the pca option to ica, or pcakeep to AMICA.
Any ideas?

>> EEG = pop_loadset('filename','pre_p36_nv_to.set','filepath','Processed/');
pop_loadset(): loading file Processed/pre_p36_nv_to.set ...
Reading float file 'Processed/pre_p36_nv_to.fdt'...
>> rank(EEG.data)

ans =

    58

>> EEG = pop_saveset( EEG, 'filename', 'rankdef.set' );
Saving dataset...
>> rank(EEG.data)

ans =

     1

>> rank(EEG.data')

ans =

     1


Thanks,
John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180516/6070d7d0/attachment.html>


More information about the eeglablist mailing list