fiasco-0.1.1
توضیحات
A Python interface to the CHIANTI atomic database
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fiasco-0.1.1 |
| نام | fiasco |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Will Barnes |
| ایمیل نویسنده | will.t.barnes@gmail.com |
| آدرس صفحه اصلی | https://fiasco.readthedocs.io |
| آدرس اینترنتی | https://pypi.org/project/fiasco/ |
| مجوز | BSD 3-Clause |
# fiasco
[](http://www.sunpy.org)
[](https://github.com/wtbarnes/fiasco/actions)
[](http://fiasco.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/wtbarnes/fiasco)
[](https://openastronomy.element.io/#/room/#atomic-data:openastronomy.org)
A Python interface to the [CHIANTI atomic database](http://www.chiantidatabase.org/). For a high level
overview of the package, have a look at my talk ([slides](https://zenodo.org/record/1249002), [video](https://youtu.be/7_Nr700kBME)) from
the [2018 Python in Astronomy](http://openastronomy.org/pyastro/2018/) conference.
## Install
```shell
$ pip install fiasco
```
The [CHIANTI atomic database](http://www.chiantidatabase.org/chianti_download.html) is also required.
See [the docs](https://fiasco.readthedocs.io/en/latest/chianti.html#acquiring-the-atomic-data) for more details.
## Example
```python
>>> import astropy.units as u
>>> import fiasco
>>> iron = fiasco.Element('iron', [1e4, 1e6, 1e8]*u.K)
# Print some information about the element
>>> iron.atomic_number
26
>>> iron.atomic_symbol
'Fe'
>>> iron.abundance
<Quantity 3.16227766e-05>
# Select the Fe 16 ion
>>> iron[15].ion_name
'Fe 16'
>>> iron[15].charge_state
15
# Ionization fraction
>>> iron[15].ioneq
<Quantity [0.000e+00, 2.377e-08, 4.163e-18]>
```
## Why *fiasco*?
A *fiasco*, or flask, is [the typical style of bottle](https://en.wikipedia.org/wiki/Fiasco_(bottle)) used to serve the *Chianti Classico* wine. It is typically larger and rounder at the bottom and is covered by a straw basket. In the same way, the `fiasco` package serves up the CHIANTI atomic database.
نیازمندی
| مقدار | نام |
|---|---|
| - | astropy |
| - | numpy |
| - | h5py |
| - | fortranformat |
| - | plasmapy |
| - | pytest |
| - | pytest-astropy |
| - | pytest-cov |
| - | matplotlib |
| - | pytest |
| - | pytest-astropy |
| - | pytest-cov |
| - | matplotlib |
| <5,>=4.2 | sphinx |
| - | sphinx-automodapi |
| - | sphinx-gallery |
| - | towncrier |
| - | aiapy |
| - | sphinx-book-theme |
| - | sphinxcontrib-bibtex |
| <5,>=4.2 | sphinx |
| - | sphinx-automodapi |
| - | sphinx-gallery |
| - | towncrier |
| - | aiapy |
| - | sphinx-book-theme |
| - | sphinxcontrib-bibtex |
| - | pytest |
| - | pytest-astropy |
| - | pytest-cov |
| - | matplotlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fiasco-0.1.1:
pip install fiasco-0.1.1.whl
نصب پکیج tar.gz fiasco-0.1.1:
pip install fiasco-0.1.1.tar.gz