Radis

Latest version: v0.14

Safety actively analyzes 613797 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.99

[362222 rows x 31 columns]



⚙️[User-interface](https://github.com/radis/radis/issues?q=label%3Ainterface+milestone%3A0.13)

- 467 radiance & emisscoeff units are now consistent with waverange unit ; i.e. plotting in `cm-1` will yield a default radiance in ~`mW/cm2/sr/cm-1` while plotting in `nm` will yield a default radiance in `~mW/cm2/sr/nm` AllanHOlesenBW (major refactor under the hood)
- 448 normalize options
- 471 line-survey works for multiple molecules

python
from radis import calc_spectrum
import astropy.units as u

s4 = calc_spectrum(1950 / u.cm, 1980 / u.cm,
mole_fraction={'CH4':1900e-9, 'CO2':400e-6},
isotope='1,2,3',
pressure=1.01325 * u.bar,
Tgas=296 * u.K,
path_length=100 * u.cm,
databank='geisa',
verbose=False,
export_lines=True)

s4.line_survey(overlay='abscoeff', barwidth=0.001)




![image](https://user-images.githubusercontent.com/16088743/168693608-e3cf7578-b886-4d6d-8bba-04f50cd89fcf.png)


🏃 [Performance improvement](https://github.com/radis/radis/issues?q=label%3Aperformance+milestone%3A0.12)

- 464 : less RAM usage when generating ExoMol database files.

🐛 [Bug fixes](https://github.com/radis/radis/issues?q=label%3Abug+milestone%3A0.12)

- 454
- 458
- 464 : fix ExoMol parsing errors

📝 [Documentation](https://github.com/radis/radis/issues?q=label%3Adocumentation+milestone%3A0.12)

- 453
- 462 new Gallery Example : [compare CO in HITRAN and GEISA](https://radis.readthedocs.io/en/latest/auto_examples/plot_compare_CO_geisa_hitran.html)

---

Detail
* fix emisscoeff units conversion by erwanp in https://github.com/radis/radis/pull/455
* Fixes Hitemp whitespace parsing by erwanp in https://github.com/radis/radis/pull/458
* Set input field instead dropdown by arunavabasu-03 in https://github.com/radis/radis/pull/459
* Exomol api update by erwanp in https://github.com/radis/radis/pull/464
* Normalize() return norm factor and units option by CorentinGrimaldi in https://github.com/radis/radis/pull/448
* Fix/ci env by erwanp in https://github.com/radis/radis/pull/468
* update linesurvey & plot by erwanp in https://github.com/radis/radis/pull/466
* Add GEISA database by TranHuuNhatHuy in https://github.com/radis/radis/pull/462
* Updated references.rst by sonikarajesh in https://github.com/radis/radis/pull/453
* Add consistent units by erwanp in https://github.com/radis/radis/pull/467
* geisa docs & line-survey by erwanp in https://github.com/radis/radis/pull/471


**Full Changelog**: https://github.com/radis/radis/compare/0.12.1...0.13.0

0.13.1

<!-- Please be sure to check out our contributing guidelines,
https://github.com/radis/radis/blob/develop/CONTRIBUTING.md . -->

Description
<!-- Provide a general description of what your pull request does. -->

Intermediary version between 0.13 and 0.14, brings important fixes to the experimental GPU mode, many other interface fixes, as well as the first implementations of the Google Summer of Code 2022 new features.

Pull Request : https://github.com/radis/radis/pull/517

What's Changed

Features:
* Fetch hitran update by Supriya1702 in https://github.com/radis/radis/pull/505 : you can now fetch non-air broadening parameters, as well as any other parameter available in the HITRAN database.
python
from radis.io.hitran import fetch_hitran

df = fetch_hitran("CO",["n_CO2","gamma_CO2"])
print(df)
print(df.columns)

![image](https://user-images.githubusercontent.com/38047163/179561484-c22f95ea-2411-4741-a07c-ea8ddfa6405e.png)


Performance:
* Chunk size implementation for DIT Algorithm loops for Broadening by sagarchotalia in https://github.com/radis/radis/pull/489 : allows to compute extreme amount of lines on limited RAM systems.
* update chunksize test to make it faster - and RT minor perf improvement by erwanp in https://github.com/radis/radis/pull/503

Interface:
* Added warning and help improvement for get_population, update line survey, add example by minouHub in https://github.com/radis/radis/pull/512



Fixes:
* Updated numpy<=1.22.3 and fixed linting by anandxkumar in https://github.com/radis/radis/pull/490
* fix specutils i/o when dealing with wavelngths by erwanp in https://github.com/radis/radis/pull/499
* Fix gpu by dcmvdbekerom in https://github.com/radis/radis/pull/514 : GPU sliders now work in Radiance mode
* Fix HDF5/ api issues by erwanp in https://github.com/radis/radis/pull/487
* Fixing the case when the chunksize is too small by sagarchotalia in https://github.com/radis/radis/pull/500

Docs:
* update physics constants to NIST CODATA standards, update docs by erwanp in https://github.com/radis/radis/pull/498
* Added the Radis Website Link by sonikarajesh in https://github.com/radis/radis/pull/475
* Whitespaces fix by Supriya1702 in https://github.com/radis/radis/pull/481
* Remove RTD special vaex handling by erwanp in https://github.com/radis/radis/pull/502
* ✨ we now have a [Youtube Video Channel](https://www.youtube.com/channel/UCO-7NXkubTAiGGxXmvtQlsA/featured)
[![image](https://user-images.githubusercontent.com/16088743/187095409-0d0102bc-8ce5-4f17-a14b-d0f0a8d0589d.png)](https://www.youtube.com/channel/UCO-7NXkubTAiGGxXmvtQlsA/featured)


Refactor:
* DBManager Refactor and simplification of ExoMol MdBMol by erwanp in https://github.com/radis/radis/pull/465 : first step before Common-API with Exojax.
* Refactor extra molecular parameters by erwanp in https://github.com/radis/radis/pull/516 . Simplification of the `radis.config` file.


**Full Changelog**: https://github.com/radis/radis/compare/0.13.0...0.13.1


---

📣 Other News

- Extreme amounts of change and improvement in Radis-App, have a look . Web app : https://radis.app/ ; Source Code : https://github.com/suzil/radis-app
- We presented Radis at the [ASA-HITRAN 2022](https://www.univ-reims.fr/asa-hitran/) conference. The records from the conference are not available, but a rehearsal video is available in our new Youtube channel above. We discuss the history, goals, features, algorithms, latest changes and future of Radis.

0.13.0

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
... ... ... ... ... ... ...

0.12.1

0.12.0

Christmas release 🎅 , adding GPU support as well as many new small features and improvements, and an important bug fix for HITRAN users.

_See PR 415_

---

Changes since [0.11.1](https://github.com/radis/radis/pull/403) (November 2021) :

🔬 [(Physics) Features](https://github.com/radis/radis/issues?q=label%3Aphysics+milestone%3A0.12)

nothing new

⚙️[User-interface](https://github.com/radis/radis/issues?q=label%3Ainterface+milestone%3A0.12)

- 380 GPU widgets are released ! 🎉

https://user-images.githubusercontent.com/16088743/121789972-f34ab280-cbda-11eb-99b0-d7ba019d80d5.mp4


- 414 : support for cross-sections


>>> s = radis.test_spectrum()
>>> s.plot("xsection")

COspectrum2502421670720 new quantities added: ['xsection']

![image](https://user-images.githubusercontent.com/16088743/150646224-84fbf459-675e-457a-8c40-0978b82fe664.png)

- 413 automatically compute spectral array if possible ; no need to "update".


will always work if possible :
s.take("abscoeff"/"emisscoeff"/"xsection"/"transmittance_noslit"/ etc.)
s.plot("abscoeff"/"emisscoeff"/"xsection"/"transmittance_noslit"/ etc.)
s.get("abscoeff"/"emisscoeff"/"xsection"/"transmittance_noslit"/ etc.)


- 412
- 409 custom user download , requested by Springder


🏃 [Performance improvement](https://github.com/radis/radis/issues?q=label%3Aperformance+milestone%3A0.12)

- 380 unleashes the power of the GPU !

🐛 [Bug fixes](https://github.com/radis/radis/issues?q=label%3Abug+milestone%3A0.12)

- 416 important : all large-range HITRAN calculations of 0.11 may have had missing lines
- 408
- 410

📝 [Documentation](https://github.com/radis/radis/issues?q=label%3Adocumentation+milestone%3A0.12)

- 404
- 289
- 406

🏁 [CI / Dev / Tests](https://github.com/radis/radis/issues?q=label%3Aci-test+milestone%3A0.12)

nothing new

🏗️ [Refactor / change in architecture](https://github.com/radis/radis/issues?q=label%3Arefactor+milestone%3A0.12)

nothing new



**Full Changelog**: https://github.com/radis/radis/compare/0.11.1...0.12.0

0.11.1

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.