Spring release 🌱
*Pull request details : https://github.com/radis/radis/pull/472*
🔬 [(Physics) Features](https://github.com/radis/radis/issues?q=label%3Aphysics+milestone%3A0.13)
- 462 adding GEISA database support by TranHuuNhatHuy
python
s = calc_spectrum(1000 / u.cm, 10000 / u.cm,
molecule="CH4",
mole_fraction=1900e-9,
isotope='1,2,3',
wstep='auto',
pressure=1.01325 * u.bar,
Tgas=296 * u.K,
path_length=100 * u.cm,
databank='geisa', GEISA-2020
verbose=False,
export_lines=True,
)
import matplotlib.pyplot as plt
plt.figure(figsize=(12,6))
s.plot("xsection", yscale='log', nfig='same')
s.line_survey()
![image](https://user-images.githubusercontent.com/16088743/168693212-224a9d15-e836-4ece-b0c4-f56f96dffca9.png)
GEISA database can be accessed as a Pandas DataFrame using [fetch_geisa()](https://radis.readthedocs.io/en/latest/source/radis.io.geisa.html#radis.io.geisa.fetch_geisa) :
python
from radis.io.geisa import fetch_geisa
df = fetch_geisa("H2O")
print(df)
wav int airbrd ... ierrT Tdpnself ierrU
0 0.052583 2.154000e-33 0.0923 ... 0.0 -0.99 -0.99
1 0.181997 2.486000e-35 0.0399 ... 0.0 -0.99 -0.99
2 0.184013 8.470000e-36 0.0399 ... 0.0 -0.99 -0.99
3 0.187637 5.255000e-29 0.0900 ... 0.0 -0.99 -0.99
4 0.363402 2.041100e-33 0.0800 ... 0.0 -0.99 -0.99
... ... ... ... ... ... ...