19 lines
399 B
Matlab
19 lines
399 B
Matlab
function[obj] = logtransform(obj)
|
|
%% perform logtransformation of all data
|
|
|
|
% signals = fieldnames(obj.data.uncorrected);
|
|
|
|
% for i = 1:length(signals)
|
|
|
|
eyes = fieldnames(obj.data);
|
|
for e = 1:length(eyes)
|
|
eye = eyes{e};
|
|
|
|
signal = obj.data.(eye).uncorrected.filtered;
|
|
logtransformed_signal = log(signal);
|
|
|
|
obj.data.(eye).uncorrected.logtransformed = logtransformed_signal;
|
|
end
|
|
|
|
|