Function adas.xxdata_34
def xxdata_34(file=None)
-
Reads an adf34 driver file for the Cowan code (adas8#1) and returns all of its contents in a dictionary.
Parameters
file
:str
- full name of ADAS adf34 file
Returns
fulldata
:dict
- contents of the adf34 file
'file' : adf25 filename 'iz0' : int array of atomic numbers 'iz1' : int array of ion charge (neutral=1) 'itpow' : int RCN control parameter 'iptvu' : int 'ipteb' : int 'norbpt' : int 'izhxbw' : int 'iphfwf' : int 'ihf' : int 'ibb' : int 'tolstb' : float 'tolkm2' : float 'tolend' : float 'thresh' : float 'kutd' : int 'kut1' : int 'ivinti' : int 'irel' : int 'maxit' : int 'npr' : int 'exf10' : float 'exfm1' : float 'emx' : float 'corrf' : float 'iw6' : int 'label' : array of arbitrary configuration labels 'config' : array of configurations in Cowan format
Notes
References
ADAS manual description of adf34: http://www.adas.ac.uk/man/appxa-34.pdf
The repository for Robert D. Cowan's atomic structure codes, with full documentation of the RCN options is here: https://www.tcd.ie/Physics/research/groups/xray-spectroscopy/cowan/
Version History
- Martin O'Mullane, 14-08-2022
- First version
Example
Examine driver file for W45+
>>> import adas as adas >>> file='/home/adas/adas/adf34/heavy_species/tungsten/w45.dat' >>> fulldata = adas.xxdata_34(file) >>> fulldata['thresh'] 5e-11 >>> fulldata['config'][6] ' 3d10 7s1'