1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
ChiantiPy - Version 0.9.4
ChiantiPy is the Python interface to the CHIANTI atomic database for astrophysical spectroscopy. It provides the capability to calculate the emission line and continuum spectrum of an optically thin plasma based on the data in the CHIANTI database.
What is CHIANTI?
CHIANTI provides a database of atomic data that can be used to interpret the emission of spectral lines and continua emitted from high-temperature, optically-thin astrophysical sources. The CHIANTI project provides a suite of routines written in Interactive Data Language (IDL) to access the database and calculate various quantities for use in interpreting observed spectra or producing synthetic spectra.
Installation
The following dependencies are required to run ChiantiPy,
Python3 (Python 3 is now required as of version 0.8.0)
The following two are extremely useful for running Python programs * IPython * Jupyter
Optionally, if you’d like to use the GUI dialogs,
If you are not familiar with installing Python and the needed dependencies, we recommend the Anaconda platform. Next, download the CHIANTI database, version 9.0 or later. Assuming you’ve placed the CHIANTI tree in $HOME, set the environment variable in your .bashrc file,
export XUVTOP=$HOME/chianti/dbase
Finally, clone and install the source from GitHub,
$ git clone --recursive https://github.com/chianti-atomic/ChiantiPy.git
$ cd ChiantiPy
$ python setup.py install
The release is also available on PyPI
Usage
As a quick example, we’ll calculate the populations of the top 10 levels of Fe XIV as a function of temperature at constant density and plot them:
>>> import ChiantiPy.core as ch
>>> import numpy as np
>>> import matplotlib.pyplot as plt
>>> temperature = np.logspace(5.8,6.8,21)
>>> fe14 = ch.ion('fe_14',temperature=temperature,eDensity=1.e+9,em=1.e+27)
>>> fe14.popPlot()
>>> plt.show()
Help
For more information about installing and using either ChiantiPy or the CHIANTI atomic database, check out the following links:
Metadata
Release files for ChiantiPy 0.9.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ChiantiPy-0.9.4.tar.gz | 9.5 MB | Without provenance | Details for ChiantiPy-0.9.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ChiantiPy-0.9.4-py3-none-any.whl | Python 3 | none | any | Details for ChiantiPy-0.9.4-py3-none-any.whl |
Total release size: 9.7 MB
Release files / ChiantiPy-0.9.4.tar.gz
| Download URL | ChiantiPy-0.9.4.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9db1c48f54f7377555c573439197515999df9182d9f6e30f53a88c63b26eaf02
|
|
BLAKE2b-256 checksum How to use checksums |
6fdcf76977269612f0957d24f662936f8e578f7b3ec9964ea84a966721748fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.10
|
Release files / ChiantiPy-0.9.4-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | ChiantiPy-0.9.4-py3-none-any.whl |
|---|---|
| Size | 150.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7d9bf0ad5eb6cb9a7ecccc47053263e2057297433a72323e06175a936acc69e
|
|
BLAKE2b-256 checksum How to use checksums |
68e3be4b0e7b301e446f1343fc9166e3ce9eb481e34a6b4381dd23b834382268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
|
Security for ChiantiPy 0.9.4
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.