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.
Warning
This generates very large files. Only run this method if you have ~6 GB available per molecule.
- 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.