Update 'Absorption Imaging Class'

Jianshun Gao 2022-07-22 16:35:54 +02:00
parent de4cb88553
commit 5ce5522bdf

@ -17,6 +17,8 @@ The path of those three standard pictures should be "camera_orientation\camera_l
Just for get the absorption imaging, it doesn't require any information about camera and transition. But any further calculation, it has to call "transition" and "camera"
\_\_enter\_\_ and \_\_exit\_\_ functions is defined. But be careful, \_\_enter\_\_ function will calculate the atom number.
### Parameters:
* **data_path** *(unknown, necessary)*: The path of hdf5 file provided by lyse moduel in LabScript.
* **camera_orientation** *(string, necessary)*: Name of the camare group in hdf5 file.
@ -25,3 +27,20 @@ Just for get the absorption imaging, it doesn't require any information about ca
* **camera** *(object of class dylab.Camera.\*, optional)*: A constant dictionary class storing the information of camera.
* **detuning** *(float, optional)*: Detuning of the laser beam.
* **Intensity** *(float, optional)*: Laser beam intensity at the position of atom cloud!
## absorption_imaging.set_image_name()
> dylab.absorption_imaging.set_image_name(image, name):
It can set the searching name of those three satandard images. The defualt names are "atoms", "background" and "dark".
### Parameters:
* **image** *(string, necessary)*: The contents of dictionary storing the name of those three images. It has to be one of "atoms", "background" and "dark".
* **name** *(string, necessary)*: The new searching name.
### Return
* Nothing
## absorption_imaging.get_image_absorption
> dylab.absorption_imaging.get_image_absorption():
It will calculate the absorption imaging, integrating in \_\_enter\_\_ function