diff --git a/MOT Capture Process Simulation/@MOTSimulator/initialVelocitySampling.m b/MOT Capture Process Simulation/@MOTSimulator/initialVelocitySampling.m index a9bc6fa..7235e1f 100644 --- a/MOT Capture Process Simulation/@MOTSimulator/initialVelocitySampling.m +++ b/MOT Capture Process Simulation/@MOTSimulator/initialVelocitySampling.m @@ -16,7 +16,7 @@ function ret = initialVelocitySampling(this) * velocity.^3 .* exp(-velocity.^2 .* (Helper.PhysicsConstants.Dy164Mass / (2 * Helper.PhysicsConstants.BoltzmannConstant ... * this.OvenTemperatureinKelvin))); - c = integral(VelocityDistribution, 0, this.VelocityCutoff)/integral(VelocityDistribution,0,Inf); + c = integral(VelocityDistribution, 0, this.VelocityCutoff); this.ReducedFlux = c * this.ReducedClausingFactor * this.calculateFreeMolecularRegimeFlux();