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