Chiantipy

Latest version: v0.15.0

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.15.0

from the changelog

Significant improvement have been made. It is now possible to calculate spectral line intensities in wavelength/energy units of angstroms, nm, eV, or keV

Calculations of the continuum still require that the wavelengths are in angstroms.

The free-bound continuum now includes the photoionization cross sections of Verner for recombination to the ground level

The free-free continuum has been correction to use the ion charge, not the nuclear charge previously used

A new class MradLoss.mradLoss has been created. It allows multiprocessing calculations of the radiative loss rate

The chiantirc file can now also be placed in the $HOME/.config directory

0.14.1

This relatively minor release adds some new features and corrects some glitches

A function demRead has been to ChiantiPy.tools.io for reading the CHIANTI .dem files in the XUVTOP/dem directory

The spectrumPlot method has been updated to provide more correct labeling of syntheic spectra

The QuickStart guide (html and notebook) have been updated to reflect these changes and show how to use the .dem files

0.14.0

a new class 'ch.redux' restores the attributes saved by the saveData methods. It inherits as number of methods, especially, for plotting.

the inherited methods 'intensityPlot' and 'spectrumPlot' have been improved. These are inherited by the ion, bunch, spectrum, mspectrum, ipymspectrum and redux classes.

First, these methods will also display the ion name ('Fe XIV') and wavelength together with the line intensities or spectral intensity.

These are more flexible and several keyword arguments have been added:

'doLabel' governs whether to display the ion name and wavelength
'lw' the linewidth of the marker in matplotlib units (default=1)
'doTitle' governs whether to add a title to the plot

Import bug fix: the indices for calculating the two-photon continue were update to match the new ordering of the energy levels for the h-like and he-like ions.

The ionization potential array (Ip) has been enlarged to make room for call to zn_31

0.13.1

This is primarily a bug fix release to correct a bug in ionGate that was not taken care of in the 0.13.0 release.

0.13.0

it is now possible to incorporate a user created abundance file. It needs to be of the same structure as one of the .abund files in the XUVTOP/abundance directory. The file can be located anywhere on the user's computer. It will be read if the abundance keyword is set to a fully qualified file name of the new abundance file, such as '/home/me/myabudance.abund', or equally, '/home/me/myabudance.txt'

The core classes, bunch and the various spectrum classes, now have saveData methods to save calculations to a pickle file

by default, the PyQt widgets are now used a selection tools. The command line selection tools are still available but the ~/.chianti/chiantirc file needs to select them.

Problems with the ionGate method have been fixed. This method help to select which ions will be used in multi-ion calculations

0.12.0

The model module is more mature

For Windows users, it is now possible to place the chiantirc file in $PROJECTHOME/.config or $PROJECTHOME/.chianti

Many improved docstrings for the documentation

the bunch class has been moved to a new module core.Bunch

a number of jupyter ipython notebooks have been created/improved to demonstrate the use of the bunch, spectrum and model.Maker classes. A short README.txt can be found in the same directory provides an introduction to these notebooks

A bug in the inherited method base._IntensityRatio() was not properly corrected in v0.10.0. This is fixed here

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.