if you only want to have a try and reproduce the simulation result in *.ipynb
files instead of making some development, go to https://gke.mybinder.org/
- GitHub repository name or URL : https://github.com/kouui/statistical_equilibrium
- Git branch, tag, or commit : master
- click
launch
and wait ~1 minute before the Docker image being built. - move to ./notebooks/ folder, where notebook *.ipynb files are saved.
- if you want to reproduce my result, just run *.ipynb files over there.
- if you want to try your own *.ipynb file, just click
upload
to upload your file to the server. - at last, do not forget to
Save and Checkpoint
and thenDownload As
Notebook (.ipynb)
to your local storage.
Fig 1. steps 1,2,3 |
Fig 2. steps 4,5,6 |
Fig 3. steps 7 |
First download NIST Level/Line information to ./atom/nist_ASCII/
folder.
take "Si III Mg like" atomic model for example:
- open https://physics.nist.gov/PhysRefData/ASD/levels_form.html
- modified the corresponding parameters in red rectangular shown in Fig 4.
- copy the whole text to
./atom/nist_ASCII/Si_III_Mg_like/Si_III_Mg_like.Level
- open https://physics.nist.gov/PhysRefData/ASD/lines_form.html and click
show Adcanced Settings
- modified the corresponding parameters in red rectangular shown in Fig 5.
- copy the whole text to
./atom/nist_ASCII/Si_III_Mg_like/Si_III_Mg_like.Line
- modify
terms
andpath
variables in python script./tools/nist_to_level_line.py
, and then execute it
$ cd /Path_to/spectra/tools
$ python nist_to_level_line.py
- step 7. will generate file
./atom/nist_ASCII/Si_III_Mg_like/Si_III_Mg_like.Result
- After all, copy the text in
./atom/nist_ASCII/Si_III_Mg_like/Si_III_Mg_like.Result
into./atom/Si_III_Mg_like.txt
. Be aware of the format.
Fig 4. |
Fig 5. |
- convert the (I,J) indexing of AJI and CE to Level indexing : (conf_term_J(lower), conf_term_J(upper))