Commit Graph

27 Commits

Author SHA1 Message Date
b6d56e9e7b Wrapped the exit condition in to its own function now checking if the position, velocity meet certain criteria and account for collision events. 2021-07-11 14:35:54 +02:00
058fa0fb19 Change of variable names, new properties included along with their getters and setters, increased limit on number of trajectories to be computed, corrections to formulae calculating saturation parameters and average velocity. 2021-07-11 14:34:19 +02:00
e16ac42415 Moved calculations of capture velocity, cut-off, reduced Clausing factor and reduced flux to here, changed the condition for the velocity sampling to correctly sample from the normalized probability distributions. 2021-07-11 06:40:19 +02:00
47a93001c8 Added a switch to change between 2D and 3D MOT cases to allow for this code to be expanded and generalized in the future. 2021-07-11 06:36:49 +02:00
e17015d181 Added the option to save the Confidence Interval of the obtained loading rate for each scan point. 2021-07-11 06:34:51 +02:00
5f97d975de Added the option to plot the confidence interval. 2021-07-11 06:31:30 +02:00
64216d2086 Wrapped the distance between a point and a line calculation in a Helper function. 2021-07-11 06:30:06 +02:00
04b395b6ad Removed the multiplication of the full Clausing Factor since the correct flux coming out of the oven is obtained by accounting for the clipping by the aperture which is done by numerically integrating the angular distribution till the exit divergence angle that is limited by the aperture to obtain what is called the "reduced" Clausing Factor. This is calculated in the initialVelocitySampling and multiplied to this flux to get the "reduced" flux. 2021-07-11 06:28:50 +02:00
94067499f2 Includes calculation of the Clausing Factor from an analytic expression (obtained from the Etienne Staub Master thesis) and an approximation. 2021-07-11 06:24:27 +02:00
c8218c1bc4 Major change how the loading rate is calculated from the raw output of the simulator - Zero crossing of the autocorrelation of the time series - which is the number of loaded atoms at each time step - is used to determine the length of each of a 1000 bootstrap samples obtained by sampling with replacement. Mean in each sample is calculated and a sampling distribution of means obtained. The capture ratio is the mean of this distribution which when multiplied by the "reduced" flux gives the loading rate. Standard Error and 95% confidence interval are also calculated from the sampling distribution. 2021-07-11 06:22:44 +02:00
1a8975c218 Added a switch to change between 2D and 3D MOT cases to allow for this code to be expanded and generalized in the future. 2021-07-11 06:18:21 +02:00
ba621f3c32 No major change. 2021-07-11 06:15:49 +02:00
960bd02f8b Cosmetic changes like the change of variable names to reflect their correct definition and use. 2021-07-11 06:15:02 +02:00
4096e685a1 Corrected errors in the formula for the acceleration due to the push beam. 2021-07-11 06:13:49 +02:00
4f28af7e10 New functions to calculate the distance of a point from a line and find all zero crossings from a vector/1-D array. 2021-07-11 06:10:23 +02:00
1ef2cf4ae0 Some cosmetic changes and additions to showcase the use of newly included plotting routines. 2021-07-11 06:08:48 +02:00
ae0b19fef0 Plots velocity sampling in terms of its magnitude (up to the cut-off) and direction (up to the exit divergence). 2021-07-11 06:07:17 +02:00
a2138c1f95 Plots the confidence interval as a shaded region. 2021-07-11 06:05:59 +02:00
271b180d27 Included the option for removing outliers and indicate the confidence interval as a shaded region. 2021-07-11 06:05:24 +02:00
2743854bb9 Cosmetic changes only. 2021-07-11 06:03:59 +02:00
48463a9d0c Cosmetic changes only. 2021-07-11 06:03:27 +02:00
b3a6f61d75 Modified to have the "reduced" Clausing Factor calculated from the angular distributions for different beta multiplied to the total flux. 2021-07-11 06:02:53 +02:00
e80c68ef2a Changed sampling of angle such that it is up to NozzleExitDivergence not MOTExitDivergence, made some other cosmetic changes. 2021-07-11 06:00:08 +02:00
f0e2bea4f5 Changed distribution to one for transition flow. 2021-07-11 05:58:10 +02:00
d0b4d0b9b8 More cosmetic changes, corrections to some calculations like the one of flux, re-wrote how one and two parameter scans are done with functions, added a save option to save the entire simulator object with its properties and their values along with the results. 2021-07-04 20:24:38 +02:00
add5d02ae3 Added new plotting routines that allow for checks, minor cosmetic changes to other scripts. 2021-07-03 10:19:27 +02:00
d88d4d683d This is a class for simulating the capture process for Dy atoms in the 2-D and 3-D MOTs, including the dynamics from the push beam and slower beams. 2021-06-29 15:44:28 +02:00