Commit c8528d8a authored by whooie's avatar whooie
Browse files

typo

parent 0b34f9a6
......@@ -174,9 +174,8 @@ def compute_mot_number(image, QE, gain, exposure_time, solid_angle,
detuning, intensity_parameter):
if image.max() >= 2**16:
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
Y = 29.1e6 * 2 * np.pi # transition linewidth; s^-1
l = 399e-9 # transition wavelength; m
I_sat = (Y * H * C * np.pi) / (3 * l**3)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment