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:
parent
79b7a67c95
commit
5407da354b
@ -19,6 +19,7 @@ classdef TwoDimensionalMOT < Simulator.MOTCaptureProcess & matlab.mixin.Copyable
|
||||
TimeSpentInInteractionRegion;
|
||||
ParticleDynamicalQuantities;
|
||||
InitialParameters;
|
||||
Results;
|
||||
end
|
||||
|
||||
methods
|
||||
@ -130,6 +131,12 @@ classdef TwoDimensionalMOT < Simulator.MOTCaptureProcess & matlab.mixin.Copyable
|
||||
function ret = get.InitialParameters(this)
|
||||
ret = this.InitialParameters;
|
||||
end
|
||||
function set.Results(this, val)
|
||||
this.Results = val;
|
||||
end
|
||||
function ret = get.Results(this)
|
||||
ret = this.Results;
|
||||
end
|
||||
end % - setters and getters
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
Loading…
Reference in New Issue
Block a user