Matplotlib requires a GUI library
Once one of these is installed, it must be set as the backend in your matplotlibrc file, e.g., backend: Qt4Agg
IPython, the IPython command line environment is HIGHLY recommended.
Invoke it with
> ipython -pylab
and the matplotlib libraries will be automatically loaded.
The gzipped data tar ball can be downloaded from the CHIANTI website
> setenv XUVTOP /data1/xuv/directory.where.the.tarball.was.placed
Some sites have the CHIANTI database maintained as part of a SolarSoft distribution. In that case, simply set XUVTOP to the directory were it resides, usually something like $SSW/packages/chianti/dbase
In order to be compatible with the latest version (7.1) of the CHIANTI atomic database, it is necessary to install the latest version (0.5) of ChiantiPy
The ChiantiPy package can be downloaded from the ChiantiPy project page at Sourceforge, untar it, cd to the directory where it was unpacked, and then, as root
python setup.py install
If you do not have root privileges, simply put the ChiantiPy directory in your PYTHONPATH
Some of the ChiantiPy methods ask the user to make a selection. With ChiantiPy, this can be done within the command line shell or with gui dialog widgets using PyQt4 or wxPython. Matplotlib needs to have a backend specified. The default is ‘GTK’ and ChiantiPy will use the command line shell for user input. If the Matplotlib backend is specified to be ‘Qt4Agg’, then the PyQt4 widget set will be used by ChiantiPy. If the Matplotlib backend is specified to be ‘WXAgg’ then the wxPython widget set will be used by ChiantiPy. If the Matplotlib backend is set to something other than the 3 values previously discussed, the command line shell will be used but with unknown success.