Files
imdd_silas/Classes/00_signals/Opticalsignal.m
Silas Oettinghaus 2aeacafe78 Bald fertig für richtige Nutzung - Move_it vergleich fertig
Complete Checkup with Move_it: this framework is an almost perfect reproduction.
2023-06-08 15:33:57 +02:00

45 lines
919 B
Matlab

classdef Opticalsignal < Signal
%OPTICALSIGNAL Summary of this class goes here
% Detailed explanation goes here
properties
nase
lambda
fs
end
methods
function obj = Opticalsignal(signal, options)
%OPTICALSIGNAL Construct an instance of this class
% Detailed explanation goes here
arguments
signal
options.fs
options.logbook
options.lambda
options.nase
end
obj = obj@Signal(signal);
fn = fieldnames(options);
for l = 1:numel(fn)
obj.(fn{l}) = options.(fn{l});
end
end
function pow = power(obj)
pow = mean(abs(obj.signal.^2)) ;
% pow = pow2db(pow)+30;
end
end
end