pyarts.arts.convert

Contains several unit conversion functions used in Arts

These all should work with any array-like type

Functions

freq2kaycm()

Converts from Frequency [Hz] to Kayser [cm-1]

freq2wavelen()

Converts from Frequency [Hz] to Wavelenth [m]

hz_per_msquared2kaycm_per_cmsquared()

Converts from Spectral line intensity [Hz/m2] to CGS spectral line intensity [cm-1/cm-2]

hz_per_pa2kaycm_per_atm()

Converts from Line shape parameter [Hz/Pa] to CGS line shape parameter [cm-1/atm]

joule2kaycm()

Converts from Energy [J] to CGS Energy [cm-1]

kaycm2freq()

Converts from Kayser [cm-1] to Frequency [Hz]

kaycm2joule()

Converts from CGS Energy [cm-1] to Energy [J]

kaycm_per_atm2hz_per_pa()

Converts from CGS line shape parameter [cm-1/atm] to Line shape parameter [Hz/Pa]

kaycm_per_cmsquared2hz_per_msquared()

Converts from CGS spectral line intensity [cm-1/cm-2] to Spectral line intensity [Hz/m2]

pa2torr()

Converts from Pressure [Pa] to Torr [Torr]

torr2pa()

Converts from Torr [Torr] to Pressure [Pa]

wavelen2freq()

Converts from Wavelenth [m] to Frequency [Hz]