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

typo

parent c8528d8a
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ class FluorescenceData(ImagingData):
N = compute_mot_number(
self.arrays["image"],
0.76,
self.config["gain"],
self.config["gain"], # dB
self.config["exposure_time"],
(0.0127**2 * np.pi) / (4 * np.pi * 0.1**2),
62e6 * 2 * np.pi,
......@@ -175,7 +175,11 @@ def compute_mot_number(image, QE, gain, exposure_time, solid_angle,
if image.max() >= 2**16:
print("WARNING: image may contain clipping")
electron_rate = image.sum() * 16
photon_rate = electron_rate / gain / QE / solid_angle / exposure_time
photon_rate = electron_rate \
/ 10**(gain / 10) \
/ 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)
......
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