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