Open raajc opened 1 year ago
Could we change in lf_generate_fromnyhead.m
line 96: [~, chanidx] = ismember(labels, sa.clab_electrodes); to [~, chanidx] = ismember(lower(labels), lower(sa.clab_electrodes));
Or add an option for this? This would enable a case-insensitive match when custom electrode names are listed.
Also unrelated but changing line 79 in the same file from: if exist('sa_nyhead.mat') ~= 2
to if exist('sa_nyhead.mat', 'file') ~= 2
may be good optimization
Could we change in lf_generate_fromnyhead.m
line 96: [~, chanidx] = ismember(labels, sa.clab_electrodes); to [~, chanidx] = ismember(lower(labels), lower(sa.clab_electrodes));
Or add an option for this? This would enable a case-insensitive match when custom electrode names are listed.