Added results property to store the final results of a scan to later save the whole object along with its properties so as to have a way of going back and checking the values for the parameters used.

This commit is contained in:
Karthik 2021-07-16 15:53:19 +02:00
parent 79b7a67c95
commit 5407da354b

View File

@ -19,6 +19,7 @@ classdef TwoDimensionalMOT < Simulator.MOTCaptureProcess & matlab.mixin.Copyable
TimeSpentInInteractionRegion; TimeSpentInInteractionRegion;
ParticleDynamicalQuantities; ParticleDynamicalQuantities;
InitialParameters; InitialParameters;
Results;
end end
methods methods
@ -130,6 +131,12 @@ classdef TwoDimensionalMOT < Simulator.MOTCaptureProcess & matlab.mixin.Copyable
function ret = get.InitialParameters(this) function ret = get.InitialParameters(this)
ret = this.InitialParameters; ret = this.InitialParameters;
end end
function set.Results(this, val)
this.Results = val;
end
function ret = get.Results(this)
ret = this.Results;
end
end % - setters and getters end % - setters and getters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%