download_atom#
- shone.opacity.download_atom(atom, charge, line_list='first-found', temperature_range=None, pressure_range=None, version=None)[source]#
Download atomic opacity data from DACE [1] [2].
These opacities were computed with HELIOS-K [3] [4] [5].
Warning
This generates very large files. Only run this method if you have a few GB available per atom.
- Parameters:
atom (str) – For example, “Na” for sodium.
charge (int) – For example, 0 for neutral.
line_list (str, default is
'first-found', optional) – For example, “Kurucz”. By default, the first available line list for this atom/charge is chosen.temperature_range (tuple, optional) – Tuple of integers specifying the min and max temperature requested. Defaults to the full range of available temperatures.
pressure_range (tuple, optional) – Tuple of floats specifying the log base 10 of the min and max pressure [bar] requested. Defaults to the full range of available pressures.
version (float, optional) – Version number of the line list in DACE. Defaults to the latest version.
References
[1]Buchschacher, N. & Alesina, F. 2019, Astronomical Data Analysis Software and Systems XXVI, 521, 757
[3]Grimm, S. L. & Heng, K. 2015, The Astrophysical Journal, 808, 182. doi:10.1088/0004-637X/808/2/182
[4]