Closed nvieira-mcgill closed 4 years ago
Hi @nvieira-mcgill! Thank you for your detailed report.
Currently NIST doesn't have ground state configurations for every ions (starting from atomic number 59). For example, look for Neodymium (z=60) at:
https://physics.nist.gov/PhysRefData/ASD/ionEnergy.html.
From Nd VI
to XI
have missing configurations (we need to parse total angular momentum J
from that column).
This situation makes impossible (for now) to build atomic files containing ions with Z > 58.
Maybe with discuss more about this in the next days.
Ah, that makes sense, thank you very much!
I was able to get around the issue by instead doing the following:
carsus
using the environment definition file carsus_env3.yml
ions='As 0; Se 0; Rb 0; Sr 0; Sr 1; U 0; U 1'
(not showing all elements for brevity)But, of course, I can't carry out the simulation with TARDIS because the atomic data is incomplete, as you mentioned. I will look into obtaining/producing more complete atomic data elsewhere.
However, I tried my first code with H
-Zn
, and I had the same error when running in the environment produced by tardis_env3.yml
. The only way to get the code to work was by running the code in the environment produced by carsus_env3.yml
. I think it might be more logical for the environments produced by each of these files to be consistent. Otherwise, it seems like one has to make their atomic data file in one conda environment and then run their TARDIS simulation in another environment.
In any case, thank you very much for your help. I am happy to discuss this any time!
Yes, Carsus should be installed in a separated environment. The new Carsus documentation is ready and should be available tomorrow, it's way more clear.
Hi @nvieira-mcgill we patched Carsus to make possible to work with heavy elements. The documentation is still not updated, some things have changed (and will continue changing in the next weeks).
@epassaro Excellent, I'm happy to hear this!
My code
Problem description
Hello,
I am following the tutorial given here to create a TARDIS atomic data file. Everything works until the line
atom_data = ...
, at which point, I get the following:I am working within an environment specifically for tardis, as suggested in the tardis installation guide. My install of tardis was cloned directly from the github and has successfully produced the spectra from the quickstart guide. I have verified that the version of
pandas
in this environment is 0.24.2, as is requested in the tardis environment definition file. The version of carsus I am using has also been cloned directly from the github.I have tried taking the other route of using the carsus quickstart guide, but have had no success there either. I'm at a bit of a loss.
Any help would be much appreciated! (Additionally, if anyone happens to have an usable .h5 file with all the elements from As-U in the meantime, that would also be very helpful.)