Python Code for Rotational Energies and Boltzmann Population of Diatomic Molecules
摘要
With the advancements in technology, several theoretical and experimental methods are being developed to simplify the study of rotational spectra. Molecule-specific computational methods are promising as they enable vast studies and provide information in limited time frames. We have developed a Python program to calculate the quantized energies and populations of rotational levels for various linear diatomic molecules. Python is a simple and productive language. As its syntaxes are easy to understand, problems like these can be solved easily using Python. This study presents the program and discusses its use in providing variations in energy and population with changing J values for different molecules.