From f658890daa4618087647ba287f482798353459d5 Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Sun, 11 Jul 2021 14:44:43 +0200 Subject: [PATCH] Correction of expression. --- .../@MOTSimulator/velocityDistributionFunction.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MOT Capture Process Simulation/@MOTSimulator/velocityDistributionFunction.m b/MOT Capture Process Simulation/@MOTSimulator/velocityDistributionFunction.m index 7894b06..2f5dc98 100644 --- a/MOT Capture Process Simulation/@MOTSimulator/velocityDistributionFunction.m +++ b/MOT Capture Process Simulation/@MOTSimulator/velocityDistributionFunction.m @@ -1,5 +1,5 @@ function ret = velocityDistributionFunction(this, velocity) - ret = sqrt(2 / pi) * (Helper.PhysicsConstants.Dy164Mass/(Helper.PhysicsConstants.BoltzmannConstant * this.OvenTemperatureinKelvin)) ... + ret = sqrt(2 / pi) * sqrt(Helper.PhysicsConstants.Dy164Mass/(Helper.PhysicsConstants.BoltzmannConstant * this.OvenTemperatureinKelvin))^3 ... * velocity^3 * exp(-velocity^2.*(Helper.PhysicsConstants.Dy164Mass / (2 * Helper.PhysicsConstants.BoltzmannConstant ... * this.OvenTemperatureinKelvin))); end \ No newline at end of file