fiasco


Namefiasco JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://fiasco.readthedocs.io
SummaryA Python interface to the CHIANTI atomic database
upload_time2024-02-03 00:27:35
maintainer
docs_urlNone
authorWill Barnes
requires_python>=3.8
licenseBSD 3-Clause
keywords heliophysics solar physics astrophysics plasma physics science atomic data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fiasco

[![Powered by SunPy Badge]( http://img.shields.io/badge/powered%20by-SunPy-orange.svg?style=flat)](http://www.sunpy.org)
[![fiasco CI status](https://github.com/wtbarnes/fiasco/workflows/CI/badge.svg?branch=main)](https://github.com/wtbarnes/fiasco/actions)
[![Documentation Status](https://readthedocs.org/projects/fiasco/badge/?version=stable)](https://fiasco.readthedocs.io/en/stable/?badge=stable)
[![PyPI](https://img.shields.io/pypi/v/fiasco.svg)](https://pypi.python.org/pypi)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7504785.svg)](https://doi.org/10.5281/zenodo.7504785)
[![codecov](https://codecov.io/gh/wtbarnes/fiasco/branch/main/graph/badge.svg?token=damCmTyRUN)](https://codecov.io/gh/wtbarnes/fiasco)
[![matrix](https://img.shields.io/matrix/atomic-data:openastronomy.org.svg?colorB=%23FE7900&label=Chat&logo=matrix&server_fqdn=openastronomy.modular.im)](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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://fiasco.readthedocs.io",
    "name": "fiasco",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "heliophysics,solar physics,astrophysics,plasma physics,science,atomic data",
    "author": "Will Barnes",
    "author_email": "will.t.barnes@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a3/15/6efae11f0f5b49e5003a5cc97d2eb3598ef72d29972c9335dad4e782d5da/fiasco-0.2.3.tar.gz",
    "platform": null,
    "description": "# fiasco\n\n[![Powered by SunPy Badge]( http://img.shields.io/badge/powered%20by-SunPy-orange.svg?style=flat)](http://www.sunpy.org)\n[![fiasco CI status](https://github.com/wtbarnes/fiasco/workflows/CI/badge.svg?branch=main)](https://github.com/wtbarnes/fiasco/actions)\n[![Documentation Status](https://readthedocs.org/projects/fiasco/badge/?version=stable)](https://fiasco.readthedocs.io/en/stable/?badge=stable)\n[![PyPI](https://img.shields.io/pypi/v/fiasco.svg)](https://pypi.python.org/pypi)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7504785.svg)](https://doi.org/10.5281/zenodo.7504785)\n[![codecov](https://codecov.io/gh/wtbarnes/fiasco/branch/main/graph/badge.svg?token=damCmTyRUN)](https://codecov.io/gh/wtbarnes/fiasco)\n[![matrix](https://img.shields.io/matrix/atomic-data:openastronomy.org.svg?colorB=%23FE7900&label=Chat&logo=matrix&server_fqdn=openastronomy.modular.im)](https://openastronomy.element.io/#/room/#atomic-data:openastronomy.org)\n\nA Python interface to the [CHIANTI atomic database](http://www.chiantidatabase.org/). For a high level\noverview of the package, have a look at my talk ([slides](https://zenodo.org/record/1249002), [video](https://youtu.be/7_Nr700kBME)) from\nthe [2018 Python in Astronomy](http://openastronomy.org/pyastro/2018/) conference.\n\n## Install\n\n```shell\n$ pip install fiasco\n```\n\nThe [CHIANTI atomic database](http://www.chiantidatabase.org/chianti_download.html) is also required.\nSee [the docs](https://fiasco.readthedocs.io/en/latest/chianti.html#acquiring-the-atomic-data) for more details.\n\n## Example\n\n```python\n>>> import astropy.units as u\n>>> import fiasco\n>>> iron = fiasco.Element('iron', [1e4, 1e6, 1e8]*u.K)\n# Print some information about the element\n>>> iron.atomic_number\n26\n>>> iron.atomic_symbol\n'Fe'\n>>> iron.abundance\n<Quantity 3.16227766e-05>\n# Select the Fe 16 ion\n>>> iron[15].ion_name\n'Fe 16'\n>>> iron[15].charge_state\n15\n# Ionization fraction\n>>> iron[15].ioneq\n<Quantity [0.000e+00, 2.377e-08, 4.163e-18]>\n```\n\n## Why *fiasco*?\n\nA *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.\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause",
    "summary": "A Python interface to the CHIANTI atomic database",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://fiasco.readthedocs.io",
        "Issues": "https://github.com/wtbarnes/fiasco/issues/",
        "Source": "https://github.com/wtbarnes/fiasco"
    },
    "split_keywords": [
        "heliophysics",
        "solar physics",
        "astrophysics",
        "plasma physics",
        "science",
        "atomic data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3bfc42ccd6252a783d7f81f75906f5c4c9f8d24de564381300897e6fc848d8c",
                "md5": "3d1b211583df2bbb2f96cdfe836d248c",
                "sha256": "9b60ad77029a0d43ad4b036f64ce3c3d130b96c59924e69917f3b03b87b9a13b"
            },
            "downloads": -1,
            "filename": "fiasco-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3d1b211583df2bbb2f96cdfe836d248c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 98500,
            "upload_time": "2024-02-03T00:27:32",
            "upload_time_iso_8601": "2024-02-03T00:27:32.591874Z",
            "url": "https://files.pythonhosted.org/packages/f3/bf/c42ccd6252a783d7f81f75906f5c4c9f8d24de564381300897e6fc848d8c/fiasco-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3156efae11f0f5b49e5003a5cc97d2eb3598ef72d29972c9335dad4e782d5da",
                "md5": "6cec4e649d71df038d84bea420cdf2e2",
                "sha256": "f2d78c6ae0649cc92e0fd1008f6ca88e2cb10c4aaad3cdd3d3e4499283f79a47"
            },
            "downloads": -1,
            "filename": "fiasco-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6cec4e649d71df038d84bea420cdf2e2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 168586,
            "upload_time": "2024-02-03T00:27:35",
            "upload_time_iso_8601": "2024-02-03T00:27:35.869919Z",
            "url": "https://files.pythonhosted.org/packages/a3/15/6efae11f0f5b49e5003a5cc97d2eb3598ef72d29972c9335dad4e782d5da/fiasco-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-03 00:27:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wtbarnes",
    "github_project": "fiasco",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "fiasco"
}
        
Elapsed time: 0.17154s