ChiantiPy version 0.10.0 has been released

65 views
Skip to first unread message

Ken Dere

unread,
Mar 3, 2021, 11:56:14 AM3/3/21
to chianti
The updated version is available on the ChiantiPy github page and PyPI.

Changes from 0.9.5 to 0.10.0
============================

The Karzas and Latter (1965) bound-free gaunt factors in the CHIANTI database have been corrected as of CHIANTI version 10.  This effects the calculation of the free-bound continuum.  The continuum.freeBound method has been updated to uses these new data.

The freeBound and the freeFree methods now have 2 new keyword variables:  **includeAbund** and **includeIoneq**.  Their initial values are True so that elemental abundance and the ionization equilibrium appropriate to the ion is included the the output spectrum.

The freeBoundEmiss is removed as it has become redundant

A new continuum method, freeBoundLossMao includes the radiative-recombination (free-bound) loss rate as calculatd by Mao et al. (2017)

a bug in the inherited method base._IntensityRatio() was corrected.

raghvendra sahai

unread,
Mar 19, 2021, 2:19:25 PM3/19/21
to 'Ken Dere' via chianti
Dear Ken,
I am interested in computing the emission at radio/mm wavelengths of a relatively low
temperature (~1500-2000K) atmosphere dominated by H- and H2- continuum opacity where most
of the electrons come from ionized metals. Can CHIANTI do this?

thanks
raghvendra
> --
> You received this message because you are subscribed to the Google Groups "chianti" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> chianti+u...@googlegroups.com <mailto:chianti+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chianti/7926fb0b-7800-4be7-a414-b6f94d37cc43n%40googlegroups.com
> <https://urldefense.us/v3/__https://groups.google.com/d/msgid/chianti/7926fb0b-7800-4be7-a414-b6f94d37cc43n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!PvBDto6Hs4WbVuu7!dn2IHHYXJRI2prQwjSn6EkoEXlTfc5XLr5mcXrGIdaGsGl2HQ8W1bM3S9W9YYSkx7ha4xxkTAw$>.

--
########################################################################
Raghvendra Sahai e-mail: raghvend...@jpl.nasa.gov
Principal Research Scientist

Jet Propulsion Laboratory Building 183, Room 903
MS 183-900
4800 Oak Grove Drive Tel.: (818) 354-0452
Pasadena, CA 91109, US Fax.: (818) 393-9088
########################################################################

Ken Dere

unread,
Mar 20, 2021, 12:01:59 PM3/20/21
to chianti

Hi raghvendra

The CHIANTI database has no infomation about H- or H2 so it will be help you in this case.
I can not even guess what to recommend.

best regards,
Ken

Mingyue Hao

unread,
Apr 4, 2021, 9:38:21 AM4/4/21
to chianti
Hello Dear friends
Traceback (most recent call last):
  File "/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/data.py", line 47, in <module>
    Ip = chio.ipRead()
  File "/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/io.py", line 1148, in ipRead
    ipfile = open(ipname)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/CHIANTI/0ChiantiData/ip/chianti.ip'

/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/data.py:82: UserWarning: Cannot find the CHIANTI atomic database at /usr/CHIANTI/0ChiantiData. You will not be able to access any data from the CHIANTI database.
  'Cannot find the CHIANTI atomic database at {}. You will not be able to access any data from the CHIANTI database.'.format(Xuvtop))

When I import ChiantiPy.core as ch,the Ipython give me this information. I don't know what induce this problem.
I already have chianti.ip in the path: /usr/CHIANTI/0ChiantiData/ip/
Thanks for any anwser!

Ken Dere

unread,
Apr 4, 2021, 9:43:38 AM4/4/21
to chianti
Hi 
have you set the environmental variable XUVTOP to the top of the CHIANTI database?  The path is a different variable.

it looks like XUVTOP should be set to /usr/CHIANTI/0ChiantiData, or something like that

Ken

Mingyue Hao

unread,
Apr 4, 2021, 9:55:04 AM4/4/21
to chianti
Hi Ken Dere
Before I using it,I have set the variable like this export XUVTOP=$/usr/CHIANTI/0ChiantiData.
And I write this variable to the /etc/profile,
but it sames didn't work and I got the wrong information

Ken Dere

unread,
Apr 4, 2021, 5:36:31 PM4/4/21
to chianti
Hi 
If you do
> printenv XUVTOP
do you get the correct directory
i.e., if you cd to XUVTOP are you in the right place?
you may need to open a new terminal so that the new XUVTOP gets picked up by reading /etc/profile
Ken

Mingyue Hao

unread,
Apr 4, 2021, 9:05:26 PM4/4/21
to chianti
Hi Ken 
After I set the right environmental variable,I have tried import ChiantPy.core as ch,IPython give me the information below.
If  I do printenv XUVTOP, the terminal give me:  /usr/CHIANTI/chiantidata.
I cd to /usr/CHIANTI/chiantidata/continuum,but there is no such file klgfb.dat and all I have is 
klgfb_1.dat,klgfb_2.dat,klgfb_3.dat,klgfb_4.dat,klgfb_5.dat,klgfb_6.dat.

ChiantiPy version 0.10.0 
 found PyQt5 widgets
 using PyQt5 widgets
Traceback (most recent call last):
  File "/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/data.py", line 61, in <module>
    Klgfb = chio.klgfbRead()
  File "/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/io.py", line 965, in klgfbRead
    input = open(fname)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/CHIANTI/chiantidata/continuum/klgfb.dat'

/home/hbuao/anaconda3/lib/python3.7/site-packages/ChiantiPy-0.10.0-py3.7.egg/ChiantiPy/tools/data.py:82: UserWarning: Cannot find the CHIANTI atomic database at /usr/CHIANTI/chiantidata. You will not be able to access any data from the CHIANTI database.
  'Cannot find the CHIANTI atomic database at {}. You will not be able to access any data from the CHIANTI database.'.format(Xuvtop))

Thanks for your anwser
Mingyue

Ken Dere

unread,
Apr 5, 2021, 10:25:31 AM4/5/21
to chianti
In the latest version of CHIANTI, that file was removed as it replaced by a the other files that you see.
I am working to fix this, hopefully soon
regards,
Ken
Reply all
Reply to author
Forward
0 new messages