Commit Graph

217 Commits

Author SHA1 Message Date
dbfe5225fa Changed the exit condition and reflected change here. 2021-07-15 16:51:16 +02:00
3dab7d35bf Cosmetic changes only. 2021-07-15 16:50:37 +02:00
b29baf29d5 Introduced back the normalization for the integration of the velocity distribution because average velocity was multiplied back in the calculation of the flux, added the missing end for parfor loop. 2021-07-15 16:47:13 +02:00
504b7769f9 Removed multiplication of isotopic abundance, restored average velocity multiplication and made corresponding changes elsewhere. 2021-07-15 16:45:25 +02:00
bbf9ccdeb1 Changed return value to approximation of CF. 2021-07-15 16:44:32 +02:00
646507594f Corrected handle for plotting function. 2021-07-15 16:43:27 +02:00
a9b7045c57 MAJOR UPDATE: Complete refactoring of the MOT simulation code to better reflect OOP. 2021-07-14 20:23:00 +02:00
149d59f7c4 Minor changes to style of scripting and other cosmetic changes. 2021-07-14 20:13:28 +02:00
59b486a147 Allows plotting of trajectories in space, plotting of velocities and phase space. 2021-07-14 20:12:47 +02:00
69358ded5f Removed the passing of the Simulator object as an argument. 2021-07-14 20:12:08 +02:00
d8a43ad153 Cosmetic changes, added argument to allow setting of lower velocity limit. 2021-07-14 20:11:16 +02:00
cb354b9ac7 Cosmetic changes only. 2021-07-14 20:10:26 +02:00
31425d2692 Changed rssq to norm. 2021-07-14 20:09:53 +02:00
043b4e61ba Cosmetic changes, minor corrections to formulae, added getInstance static method. 2021-07-14 20:09:15 +02:00
b0184e1576 Removed Clausing factor calculation from here and changed value of total power. 2021-07-14 20:08:22 +02:00
b5f9a1b44a Cosmetic changes only. 2021-07-14 20:07:40 +02:00
039b1c36ec Cosmetic changes only. 2021-07-14 20:07:22 +02:00
b34078436a Removed normalization of the velocity distribution of atoms coming out of the oven since the average velocity multiplication in the total flux inside the oven calculation was removed as they cancel each other. 2021-07-14 20:06:59 +02:00
6cde617bb4 Fixed the Saturation parameter calculation was not indexing over the local saturation intensity array. 2021-07-14 20:05:40 +02:00
6d161ceede Cosmetic changes only. 2021-07-14 20:04:54 +02:00
411375b464 Average velocity of the distribution of atoms inside the oven here cancels with the normalization of the distribution of atoms coming out of the oven so it can be removed as long as that normalization is also removed! 2021-07-14 20:04:34 +02:00
89aca91067 Cosmetic changes only. 2021-07-14 20:03:17 +02:00
d486684cc1 Cosmetic changes only. 2021-07-14 20:02:48 +02:00
de683c7d6b Minor edits to reflect changes like the new Push beam flag. 2021-07-11 21:17:49 +02:00
1788066bce Modified to reflect change in acceleration due to scattering function. 2021-07-11 21:16:53 +02:00
3a6732a4a6 Corrected scattering rate formula and removed detuning as an argument to be passed. 2021-07-11 21:16:07 +02:00
a79389c608 Cosmetic changes and included the new Push beam flag. 2021-07-11 21:14:31 +02:00
cbef467b6f Added a flag to turn on or off the Push beam. 2021-07-11 21:13:01 +02:00
c2e6420243 Inconsequential numeric changes. 2021-07-11 14:51:49 +02:00
f789a7ad6a Modified to determine the distance between atom and the z-axis and checked to see if that is within the diameter of the beams - this makes sense since the beams are crossed and the condition that the distance be smaller than the beam diameter holds only along the y-axis. 2021-07-11 14:51:17 +02:00
5b91c20246 Major changes - rewrote how autocorrelation, resampling and determination of loading rate is done. 2021-07-11 14:47:13 +02:00
8327652883 Shifted some calculations in to other functions. 2021-07-11 14:46:19 +02:00
5e933b0324 Changed variable names. 2021-07-11 14:45:18 +02:00
f658890daa Correction of expression. 2021-07-11 14:44:43 +02:00
a41ae74cb7 Cosmetic changes only, changed a few variable names, dynamical quantities for all atoms across the full simulation time are now returned instead of just the final values. 2021-07-11 14:43:36 +02:00
bc10c207f6 Cosmetic changes only. 2021-07-11 14:42:09 +02:00
f7f48bd623 Cosmetic changes, a few new additions. 2021-07-11 14:41:40 +02:00
b4e28e09db Wrapped the calculation of the "reduced" Clausing factor - which is the probability of an atom exiting from the oven within a smaller solid angle as determined by the apertures/orifices along the way. 2021-07-11 14:40:43 +02:00
bb5f70ce7f Wrapped the calculation of the collision event probability in its own function. 2021-07-11 14:39:26 +02:00
951c2e3935 Determines the distribution of times spent by atom in the MOT interaction volume to be used to compute the collision probability between the incoming hot atoms and the atoms slowed near the center of the MOT. 2021-07-11 14:38:37 +02:00
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