Skip to content
Snippets Groups Projects
Commit c8528d8a authored by whooie's avatar whooie
Browse files

typo

parent 0b34f9a6
No related branches found
No related tags found
No related merge requests found
...@@ -174,9 +174,8 @@ def compute_mot_number(image, QE, gain, exposure_time, solid_angle, ...@@ -174,9 +174,8 @@ def compute_mot_number(image, QE, gain, exposure_time, solid_angle,
detuning, intensity_parameter): detuning, intensity_parameter):
if image.max() >= 2**16: if image.max() >= 2**16:
print("WARNING: image may contain clipping") print("WARNING: image may contain clipping")
electron_rate = im.sum() * 16 electron_rate = image.sum() * 16
photon_rate = electron_rate / gain / QE / solid_angle / exposure_time photon_rate = electron_rate / gain / QE / solid_angle / exposure_time
Y = 29.1e6 * 2 * np.pi # transition linewidth; s^-1 Y = 29.1e6 * 2 * np.pi # transition linewidth; s^-1
l = 399e-9 # transition wavelength; m l = 399e-9 # transition wavelength; m
I_sat = (Y * H * C * np.pi) / (3 * l**3) I_sat = (Y * H * C * np.pi) / (3 * l**3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment