From dbfe5225fafd19512faed154aca21717a1380353 Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Thu, 15 Jul 2021 16:51:16 +0200 Subject: [PATCH] Changed the exit condition and reflected change here. --- +Simulator/@TwoDimensionalMOT/calculateLoadingRate.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/+Simulator/@TwoDimensionalMOT/calculateLoadingRate.m b/+Simulator/@TwoDimensionalMOT/calculateLoadingRate.m index 2f93a97..ee42339 100644 --- a/+Simulator/@TwoDimensionalMOT/calculateLoadingRate.m +++ b/+Simulator/@TwoDimensionalMOT/calculateLoadingRate.m @@ -18,8 +18,7 @@ function [LoadingRate, StandardError, ConfidenceInterval] = calculateLoadingRate end for AtomIndex = 1:n Position = squeeze(DynamicalQuantities(AtomIndex, TimeIndex, 1:3))'; - Velocity = squeeze(DynamicalQuantities(AtomIndex, TimeIndex, 4:6))'; - if this.exitCondition(ovenObj, Position, Velocity, CollisionEvents(AtomIndex)) + if this.exitCondition(Position, CollisionEvents(AtomIndex)) NumberOfLoadedAtoms(TimeIndex) = NumberOfLoadedAtoms(TimeIndex) + 1; end end