Progress on Kurucz and NIST databases
Since the last article, I received a lot of feedback and comments about the Kurucz PR.
Here is and example of a Fe_I spectrum I can obtain with these conditions.
The main remarks where that :
I needed to adjust the code to make it more general and user friendly. I introduced a specie argument to SpectrumFactory and calc_spectrum to replace atom and molecule and gather them under a same name.
I made sure to respect the Radis structure by mooving files where I needed to and adding a new Partfunc class for Kurucz.
Then I added a few tests and removed old tests that were not needed any longer.
I also cleaned my PR : removed all the unused methods from the Kurucz API,added references, moved hardcoded arrays to proper files.
We asked the Exojax team for more help about the broadening parameters. For the moment, there are some approximations and placeholders about the airbrd (air broadening which is required in the Radis format) by computing it thanks to the Kurucz parameters.
A simplified version of the broadening allows to plot spectra for now but there are still values to adjust for the various species.
I also started to work on the NIST database by fixing a parsers developed last year. Though I can plot NIST spectra for some wavelength, there still are issues particularly about the FWHM to deal with.