dylab/test_absorption_imaging.py

27 lines
843 B
Python
Raw Normal View History

from lyse import *
2022-08-09 15:37:34 +02:00
from HelperClasses import DyTransition, Camera, AbsorptionImaging, Plotting1
2022-07-30 21:50:53 +02:00
import matplotlib.pyplot as plt
import matplotlib.style as mplstyle
2022-07-30 21:50:53 +02:00
import matplotlib
matplotlib.use("qt5agg")
mplstyle.use('fast')
absorption_imaging_transition = DyTransition.creat_Dy421()
mot_3D_camera = Camera.c11440_36u(absorption_imaging_transition['wavelength'])
with AbsorptionImaging.absorption_imaging(path, 'MOT_3D_Camera', 'in_situ_absorption',
absorption_imaging_transition, mot_3D_camera, 0, 0) as absorption_image:
absorption_image.select_effective_data((800, 500), (1000, 700))
absorption_image.get_atom_number()
print(absorption_image.atom_number)
2022-07-30 21:50:53 +02:00
2022-08-09 15:37:34 +02:00
plotting = Plotting1.plotting_absorption_imaging(absorption_image)
2022-07-30 21:50:53 +02:00
plotting.four_plots()
# plotting.absorption_plots()