From 5407da354b6be3672ac3301eaf96faab7cdde81c Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Fri, 16 Jul 2021 15:53:19 +0200 Subject: [PATCH] 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. --- +Simulator/@TwoDimensionalMOT/TwoDimensionalMOT.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/+Simulator/@TwoDimensionalMOT/TwoDimensionalMOT.m b/+Simulator/@TwoDimensionalMOT/TwoDimensionalMOT.m index 41ab8a7..d1a326f 100644 --- a/+Simulator/@TwoDimensionalMOT/TwoDimensionalMOT.m +++ b/+Simulator/@TwoDimensionalMOT/TwoDimensionalMOT.m @@ -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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%