analysis.spectrum_broadening
A package containing classes and functions to broaden stick spectra.
Classes
SpectrumDataWriterA class to write broadened spectra to output files.
Functions
build_spectrum()A function to broaden a stick spectrum file and write the result.
alpha_from_fwhm()A function to convert a Gaussian full width at half maximum to the exponent alpha.
fwhm_from_alpha()A function to convert a Gaussian exponent alpha to the full width at half maximum.
read_stick_spectrum()A function to read a two-column stick spectrum file.
wavenumber_grid()A function to build the regular wavenumber grid of the broadened spectrum.
broaden()A function to broaden a stick spectrum on a wavenumber grid.
Submodules
Summary
__all__ Classes:
Class for writing a broadened spectrum to a file. |
__all__ Functions:
Convert a Gaussian full width at half maximum to the exponent alpha. |
|
Broaden a stick spectrum on a wavenumber grid. |
|
Broaden a two-column stick spectrum file and write the result. |
|
Convert a Gaussian exponent alpha to the full width at half maximum. |
|
Read a two-column stick spectrum file. |
|
Build the regular wavenumber grid of the broadened spectrum. |
__all__ Data:
|
Convert a string or number to a floating-point number, if possible. |
|
Convert a string or number to a floating-point number, if possible. |
|
Convert a string or number to a floating-point number, if possible. |
|
Convert a string or number to a floating-point number, if possible. |