From 89aca91067516d19c3d2ee75e0aa14101fa1722f Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Wed, 14 Jul 2021 20:03:17 +0200 Subject: [PATCH] Cosmetic changes only. --- .../@MOTSimulator/accelerationDueToSpontaneousEmissionProcess.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MOT Capture Process Simulation/@MOTSimulator/accelerationDueToSpontaneousEmissionProcess.m b/MOT Capture Process Simulation/@MOTSimulator/accelerationDueToSpontaneousEmissionProcess.m index 02f0d4c..9cf4a31 100644 --- a/MOT Capture Process Simulation/@MOTSimulator/accelerationDueToSpontaneousEmissionProcess.m +++ b/MOT Capture Process Simulation/@MOTSimulator/accelerationDueToSpontaneousEmissionProcess.m @@ -2,7 +2,7 @@ function ret = accelerationDueToSpontaneousEmissionProcess(this, SaturationParam Vector = [2*rand(1)-1,2*rand(1)-1,2*rand(1)-1]; Vector = Vector./norm(Vector); - ScatteringRate = (0.5 * SaturationParameter * Linewidth) / (1 + TotalSaturationParameter); + ScatteringRate = (0.5 * Linewidth) * (SaturationParameter / (1 + TotalSaturationParameter)); NumberOfScatteringEvents = floor(ScatteringRate * this.TimeStep); if NumberOfScatteringEvents > 0