[Eeglablist] Channel locations lost after re-referencing
lmm226
laura.morett at yale.edu
Thu Mar 1 14:54:49 PST 2018
As the title of this message suggests, for some reason, the channel locations for some subjects are lost when I re-reference. This is not the case for all subjects, and I'm unsure of what differentiates subjects for whom channels are lost during re-referencing from subjects for whom they aren't. I checked the channels being used for the re-referencing as well as new channels created during these steps, but they all look fine to me. Below is the code I'm using to re-reference:
EEG = pop_eegchanoperator( EEG, [home_path 'chan_averaging_combined.txt'], 'ErrorMsg', 'popup', 'Warning', 'off' );
EEG.setname = [EEG.setname '_reref'];
if (save_files)
EEG = pop_saveset(EEG, 'filename', [EEG.setname '.set'], 'filepath', data_path);
end
Below are the contents of chan_averaging_combined.txt. Any suggestions as to what may be causing this problem and how to fix it would be greatly appreciated. TIA!
nch1 = ch1 - ( (ch57+ch101)/2 ) Label E1
nch2 = ch2 - ( (ch57+ch101)/2 ) Label E2
nch3 = ch3 - ( (ch57+ch101)/2 ) Label E3
nch4 = ch4 - ( (ch57+ch101)/2 ) Label E4
nch5 = ch5 - ( (ch57+ch101)/2 ) Label E5
nch6 = ch6 - ( (ch57+ch101)/2 ) Label E6
nch7 = ch7 - ( (ch57+ch101)/2 ) Label E7
nch8 = ch8 - ( (ch57+ch101)/2 ) Label E8
nch9 = ch9 - ( (ch57+ch101)/2 ) Label E9
nch10 = ch10 - ( (ch57+ch101)/2 ) Label E10
nch11 = ch11 - ( (ch57+ch101)/2 ) Label E11
nch12 = ch12 - ( (ch57+ch101)/2 ) Label E12
nch13 = ch13 - ( (ch57+ch101)/2 ) Label E13
nch14 = ch14 - ( (ch57+ch101)/2 ) Label E14
nch15 = ch15 - ( (ch57+ch101)/2 ) Label E15
nch16 = ch16 - ( (ch57+ch101)/2 ) Label E16
nch17 = ch17 - ( (ch57+ch101)/2 ) Label E17
nch18 = ch18 - ( (ch57+ch101)/2 ) Label E18
nch19 = ch19 - ( (ch57+ch101)/2 ) Label E19
nch20 = ch20 - ( (ch57+ch101)/2 ) Label E20
nch21 = ch21 - ( (ch57+ch101)/2 ) Label E21
nch22 = ch22 - ( (ch57+ch101)/2 ) Label E22
nch23 = ch23 - ( (ch57+ch101)/2 ) Label E23
nch24 = ch24 - ( (ch57+ch101)/2 ) Label E24
nch25 = ch25 - ( (ch57+ch101)/2 ) Label E25
nch26 = ch26 - ( (ch57+ch101)/2 ) Label E26
nch27 = ch27 - ( (ch57+ch101)/2 ) Label E27
nch28 = ch28 - ( (ch57+ch101)/2 ) Label E28
nch29 = ch29 - ( (ch57+ch101)/2 ) Label E29
nch30 = ch30 - ( (ch57+ch101)/2 ) Label E30
nch31 = ch31 - ( (ch57+ch101)/2 ) Label E31
nch32 = ch32 - ( (ch57+ch101)/2 ) Label E32
nch33 = ch33 - ( (ch57+ch101)/2 ) Label E33
nch34 = ch34 - ( (ch57+ch101)/2 ) Label E34
nch35 = ch35 - ( (ch57+ch101)/2 ) Label E35
nch36 = ch36 - ( (ch57+ch101)/2 ) Label E36
nch37 = ch37 - ( (ch57+ch101)/2 ) Label E37
nch38 = ch38 - ( (ch57+ch101)/2 ) Label E38
nch39 = ch39 - ( (ch57+ch101)/2 ) Label E39
nch40 = ch40 - ( (ch57+ch101)/2 ) Label E40
nch41 = ch41 - ( (ch57+ch101)/2 ) Label E41
nch42 = ch42 - ( (ch57+ch101)/2 ) Label E42
nch43 = ch43 - ( (ch57+ch101)/2 ) Label E43
nch44 = ch44 - ( (ch57+ch101)/2 ) Label E44
nch45 = ch45 - ( (ch57+ch101)/2 ) Label E45
nch46 = ch46 - ( (ch57+ch101)/2 ) Label E46
nch47 = ch47 - ( (ch57+ch101)/2 ) Label E47
nch48 = ch48 - ( (ch57+ch101)/2 ) Label E48
nch49 = ch49 - ( (ch57+ch101)/2 ) Label E49
nch50 = ch50 - ( (ch57+ch101)/2 ) Label E50
nch51 = ch51 - ( (ch57+ch101)/2 ) Label E51
nch52 = ch52 - ( (ch57+ch101)/2 ) Label E52
nch53 = ch53 - ( (ch57+ch101)/2 ) Label E53
nch54 = ch54 - ( (ch57+ch101)/2 ) Label E54
nch55 = ch55 - ( (ch57+ch101)/2 ) Label E55
nch56 = ch56 - ( (ch57+ch101)/2 ) Label E56
nch57 = ch57 Label E57
nch58 = ch58 - ( (ch57+ch101)/2 ) Label E58
nch59 = ch59 - ( (ch57+ch101)/2 ) Label E59
nch60 = ch60 - ( (ch57+ch101)/2 ) Label E60
nch61 = ch61 - ( (ch57+ch101)/2 ) Label E61
nch62 = ch62 - ( (ch57+ch101)/2 ) Label E62
nch63 = ch63 - ( (ch57+ch101)/2 ) Label E63
nch64 = ch64 - ( (ch57+ch101)/2 ) Label E64
nch65 = ch65 - ( (ch57+ch101)/2 ) Label E65
nch66 = ch66 - ( (ch57+ch101)/2 ) Label E66
nch67 = ch67 - ( (ch57+ch101)/2 ) Label E67
nch68 = ch68 - ( (ch57+ch101)/2 ) Label E68
nch69 = ch69 - ( (ch57+ch101)/2 ) Label E69
nch70 = ch70 - ( (ch57+ch101)/2 ) Label E70
nch71 = ch71 - ( (ch57+ch101)/2 ) Label E71
nch72 = ch72 - ( (ch57+ch101)/2 ) Label E72
nch73 = ch73 - ( (ch57+ch101)/2 ) Label E73
nch74 = ch74 - ( (ch57+ch101)/2 ) Label E74
nch75 = ch75 - ( (ch57+ch101)/2 ) Label E75
nch76 = ch76 - ( (ch57+ch101)/2 ) Label E76
nch77 = ch77 - ( (ch57+ch101)/2 ) Label E77
nch78 = ch78 - ( (ch57+ch101)/2 ) Label E78
nch79 = ch79 - ( (ch57+ch101)/2 ) Label E79
nch80 = ch80 - ( (ch57+ch101)/2 ) Label E80
nch81 = ch81 - ( (ch57+ch101)/2 ) Label E81
nch82 = ch82 - ( (ch57+ch101)/2 ) Label E82
nch83 = ch83 - ( (ch57+ch101)/2 ) Label E83
nch84 = ch84 - ( (ch57+ch101)/2 ) Label E84
nch85 = ch85 - ( (ch57+ch101)/2 ) Label E85
nch86 = ch86 - ( (ch57+ch101)/2 ) Label E86
nch87 = ch87 - ( (ch57+ch101)/2 ) Label E87
nch88 = ch88 - ( (ch57+ch101)/2 ) Label E88
nch89 = ch89 - ( (ch57+ch101)/2 ) Label E89
nch90 = ch90 - ( (ch57+ch101)/2 ) Label E90
nch91 = ch91 - ( (ch57+ch101)/2 ) Label E91
nch92 = ch92 - ( (ch57+ch101)/2 ) Label E92
nch93 = ch93 - ( (ch57+ch101)/2 ) Label E93
nch94 = ch94 - ( (ch57+ch101)/2 ) Label E94
nch95 = ch95 - ( (ch57+ch101)/2 ) Label E95
nch96 = ch96 - ( (ch57+ch101)/2 ) Label E96
nch97 = ch97 - ( (ch57+ch101)/2 ) Label E97
nch98 = ch98 - ( (ch57+ch101)/2 ) Label E98
nch99 = ch99 - ( (ch57+ch101)/2 ) Label E99
nch100 = ch100 - ( (ch57+ch101)/2 ) Label E100
nch101 = ch101 Label E101
nch102 = ch102 - ( (ch57+ch101)/2 ) Label E102
nch103 = ch103 - ( (ch57+ch101)/2 ) Label E103
nch104 = ch104 - ( (ch57+ch101)/2 ) Label E104
nch105 = ch105 - ( (ch57+ch101)/2 ) Label E105
nch106 = ch106 - ( (ch57+ch101)/2 ) Label E106
nch107 = ch107 - ( (ch57+ch101)/2 ) Label E107
nch108 = ch108 - ( (ch57+ch101)/2 ) Label E108
nch109 = ch109 - ( (ch57+ch101)/2 ) Label E109
nch110 = ch110 - ( (ch57+ch101)/2 ) Label E110
nch111 = ch111 - ( (ch57+ch101)/2 ) Label E111
nch112 = ch112 - ( (ch57+ch101)/2 ) Label E112
nch113 = ch113 - ( (ch57+ch101)/2 ) Label E113
nch114 = ch114 - ( (ch57+ch101)/2 ) Label E114
nch115 = ch115 - ( (ch57+ch101)/2 ) Label E115
nch116 = ch116 - ( (ch57+ch101)/2 ) Label E116
nch117 = ch117 - ( (ch57+ch101)/2 ) Label E117
nch118 = ch118 - ( (ch57+ch101)/2 ) Label E118
nch119 = ch119 - ( (ch57+ch101)/2 ) Label E119
nch120 = ch120 - ( (ch57+ch101)/2 ) Label E120
nch121 = ch121 - ( (ch57+ch101)/2 ) Label E121
nch122 = ch122 - ( (ch57+ch101)/2 ) Label E122
nch123 = ch123 - ( (ch57+ch101)/2 ) Label E123
nch124 = ch124 - ( (ch57+ch101)/2 ) Label E124
nch125 = ch125 - ( (ch57+ch101)/2 ) Label E125
nch126 = ch126 - ( (ch57+ch101)/2 ) Label E126
nch127 = ch127 - ( (ch57+ch101)/2 ) Label E127
nch128 = ch128 - ( (ch57+ch101)/2 ) Label E128
nch129 = ch128 - ch17 Label HEOG-R
nch130 = ch17 - ch125 Label HEOG-L
nch131 = ch127 + ch126 - (((ch21+ch25)/2) + ((ch14+ch8)/2)) Label biVEOG
<http://lauramorettphd.wix.com/home>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180301/fe908405/attachment.html>
More information about the eeglablist
mailing list