Resource parameters

First and foremost thing to modify is the resource parameter dictionary that holds the details of the imaging system, including the camera specs, that is used to extract the time of flight images. These details are used all over the package to convert the pixel units of the image to the real units to extract size of the atomic cloud in real units. To check the default parameters, one could see the "params" attribute of the rcParams class as shown below. To update these parameters, use "update" method passing the property as a string and its corresponding value.

Number of atoms

Number of atoms is estimated by extracting extracting the optical thickness from the image sequence. Once optical thickness is obtained from ShadowImage class, this is fit to a 2D gaussian and volume under the 2D gaussian is calculated. Number of atoms is estimated by dividing this volume with the scattering cross section. In this example, the atoms used are fermionic strontium 87 atoms and probe targeting $^1S_0 \rightarrow ^1P_1$ transition at 461 nm is used. In case you are using a different species of atoms, this function needs to be modified to use the scattering cross section of the that atom with the probe laser.

Temperature

To extract the temperature, call the temperature function with sizes of the clouds obtained from numAtomsBlue function and corresponding times of flight as shown below.

Checking magnification of the imaging system