Skip to content

Commit

Permalink
Readme updates, spellings fixed, some ambiguous sentences removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit7540 committed Apr 3, 2020
1 parent 60fcddd commit ac8def6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python_module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ This module is broadly divided into two sections , intensity and wavenumber cal

**Intensity calibration :** Includes following files,

`compute_spectra.py` : This is an independent module which imports energy state data (for H<sub>2</sub>, HD and D<sub>2</sub>) along with ratio of polarizability anisotropy matrix (at 532.2 nm) elements to compute the theoretical rotational Raman spectra of these gases. Temperature is included for Boltzmann population using which observable Raman spectra can be modeled. For obtaining the ratio of theoretical Raman intensities originating from a common rotational state (required for the `wavelength_sensivity.py` module ), taking a ratio of the computed intensities from common rotational states is required. This ratio is independent of the Boltzmann population.
`compute_spectra.py` : This is an independent module which imports energy state data (for H<sub>2</sub>, HD and D<sub>2</sub>) along with ratio of polarizability anisotropy matrix elements (at 532.2 nm, for our experiment) to compute the theoretical rotational Raman spectra of these gases. Temperature is included for Boltzmann population using which observable Raman spectra can be modeled. For obtaining the ratio of theoretical Raman intensities originating from a common rotational state (required for the `wavelength_sensivity.py` module ), taking a ratio of the computed intensities from common rotational states is required. This ratio is independent of the Boltzmann populations.

For matrix elements of polarizability anisotropy for H<sub>2</sub>, HD and D<sub>2</sub>, at other wavelengths refer to this GitHub repository (<https://github.com/ankit7540/H2-PolarizabilityMatrixElements>) and research paper (<https://aip.scitation.org/doi/abs/10.1063/1.5011433>).

`wavelength_sensivity.py` : It accepts the data of experimental rotational Raman intensity (from common rotational state) for performing a fit to determine the coefficients of a polynomial representing the wavelength dependent sensitivity.

**Wavenumber calibration :** Includes following file,

`wavenumber_cal.py` : It requires data on the band positions in pixels with the uncertainties, as vectors in a 1D txt file. (NumPy array can be directly used as well). Core program is just fitting the pixel with the reference wavelength data. The reference data in already included in the file with the error.
`wavenumber_cal.py` : It requires data on the band positions in pixels with the uncertainties, as vectors in a 1D txt file. (NumPy array can be directly used as well). Corresponding reference data is also required as 1D arrays containing values and the errors. Core program is just fitting the pixel with the reference wavelength data. Example data sets are included.


Requirements
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Theoretical intensities for rotational Raman bands of H<sub>2</sub>, HD and D<sub>2</sub>

This section includes one file `compute_spectra.py` for the computation of the rotational Raman intensities of the three gases. Temperature is required for computing the Boltzmann population. Wavelength dependent polarizability anisotropy matrix elements are required for the transition probability of the rotational Raman transitions. As an example, the data for the 532.199323 nm, specific to our experiment, was obtained from this repository (<https://github.com/ankit7540/H2-PolarizabilityMatrixElements>), will be used here.
This section includes one file `compute_spectra.py` for the computation of the rotational Raman intensities of the three gases. Temperature is required to be input for computing the Boltzmann population. Wavelength dependent polarizability anisotropy matrix elements are required for the transition probability of the rotational Raman transitions. As an example, the data for the 532.199323 nm, specific to our experiment, was obtained from this repository (<https://github.com/ankit7540/H2-PolarizabilityMatrixElements>), and will be used here.


Requirements
Expand All @@ -9,7 +9,7 @@ Python 2.7 or Python 3.x with NumPy and matplotlib

Usage
----------------
Following commands are run under the Python interpreter environment. (Alternatively use any Python IDE like Spyder, IDLE or PyCharm). *Spyder3 is has been used while writing and debugging.*
Following commands are run under the Python interpreter environment. (Alternatively use any Python IDE like Spyder, IDLE or PyCharm). *Spyder running on Python 3.6 is has been used while writing and debugging.*

***When using Python interpreter in terminal***

Expand Down

0 comments on commit ac8def6

Please sign in to comment.