0.10.1
0.10.0
(see Pull request and code changes here)
4th release of RADIS in 2021, and the largest so far !
New physics with ExoMol support, by-default truncations to account for subLorentzian behaviors, custom abundances for non-terrestrial atmospheres. Major improvements in performances (reduced memory consumption, faster database loading, up to 10x faster small CPU spectra, large range spectra are 2-30x faster, 3500x faster nonequilibrium partition functions). A few handy features for post-processing (custom plotting themes, ruler tool) or for the calculations (automatic wavenumber grid, fitting methods, new profiler, new choice of truncation & effect of neighbour lines), and even a new method to automatically cite the papers that contributed to your calculation ! 🏃
And also, lot's of new Examples of what can be done with RADIS :
10 people contributed to this version, including the major works of @anandxkumar and @gagan-aryan on their OpenAstronomy GSOC-2021 projects. 👏
Changes since 0.9.29 (April 2021) :
🔬 (Physics) Features
- #319, #320 ExoMol Support
- #340, #343 Adds default line truncation at 50 cm-1 to account for sublorentzian behaviors in the far wings. Chi-factors will be implemented in the next version.
- #301 for non terrestrial atmospheres
Also notice that the HITRAN team has completed major additions to the database (see "Database Update" on the the HITRAN website), and these are available in RADIS with databank='hitran'
⚙️User-interface
- #251
cutoff=None
is valid and meanscutoff=0
- #250 Automatic wavenumber grid resolution with
wstep='auto'
(see Performance) - #281
- #291 a ruler to measure offsets or linewidths directly on RADIS
plot(show_ruler=True)
andplot_diff(show_ruler=True)
- RADIS updated to support Fitroom, a multi-dimensional fit environment. See the 1min-video
- #348 to have your own plotting themes, like
seaborn
- #336 fitting functions, see the the fitting Examples
- #343 : adds two independant parameters choice of
truncation
& effect ofneighbour_lines
(replaces the old parameterbroadening_max_width
- #345 :
s.cite()
to generate your Bibtex entry
🏃 Performance improvement
- #250 Automatic wavenumber grid resolution by @anandxkumar : makes sure you always have the right balance in between accuracy and performance. Will become the default mode in 0.9.31, try it before by setting
wstep='auto'
in calc_spectrum or SpectrumFactory . Feedback welcome ! - #233 #234 Fast Cython implementation of add_at in LDM method, by @dcmvdbekerom
- #252 in SpectrumFactory, do not load rovibrational energies (needed for nonequilibrium calculations) unless we actually need nonequilibrium calculations
- #286 : only downloads the HITEMP files you need, i.e., not the full wavenumber range.
- #287 : reduced memory usage and up to 2x faster linestrength calculations by @gagan-aryan
- #303 : about 20% faster to load .spec files
- #304 up to 10x faster to calculate very small spectra (~1 cm-1), by @minouHub
- #306 : up to x20 faster database loading with
vaex
engine - #309
- #316 500-3500x faster nonequilibrium partition functions
- #325 new profilers
- #323 : 2-30x faster spectra in LDM+Voigt
- #343 : LDM + Voigt becomes the default, making large range spectra 2-30x faster. See this benchmark by @anandxkumar
Note : some performance improvements are not activated by default in this version. See
partfunc="tabulation"
#316 ,wstep='auto'
#250 , orfetch_hitemp("OH", engine="vaex")
#306 . Try them !
🐛 Bug fixes
- #211 #264 do not parse local/global quanta if missing values : fixes problem with HITEMP H2O unlabelled lines
- #248 fix error when fetching hitran isotopes with no lines in the spectral range by @CorentinGrimaldi
- #260 slit shape was not saved in the Spectrum conditions, fix by @CorentinGrimaldi
- #257 fix reading of single path in config file entry by @CorentinGrimaldi
- #218 #219 #270 fix automatic correction of slit dispersion in apply_slit() by @CorentinGrimaldi
- #277
- #280 (STILL OPEN)
- #282 by @gh4ag
- #298
- #294
- #308
- #326
📝 Documentation
- #261 add documentation of radis.json
- #242 #256 improve error messages
- #263 #246 #235 #231 improve docs
- #230 links to source code in online docs, and clickable flow chart
- #265 #240 add default arguments automatically (still WIP)
- #293
- #315
- #331
🏁 CI / Dev / Tests
🏗️ Refactor / change in architecture
- Cython module architecture in #234
- #287 , #302
- #344 will prevent many user-problems with "convolved and non-convolved" quantities
- #347 by @MVAMULYA
- #321
And also:
- RADIS-Lab was updated with preconfigured HITEMP-H2O lines. Try it out, or share it : no install needed (will be updated in the coming days with RADIS 0.9.30 support).
- #125 One can now chat with the community directly from the RADIS website. Ask all your questions !
- @dcmvdbekerom gave a talk describing the DIT algorithm that powers RADIS. The 15-min video is available here.
- an automatically differentiated version of the DIT algorithm has been implemented in the Exojax code by @HajimeKawahara, to model exoplanets, brown drafts and generally for inverse problems in radiative transfer. Have a look !