Skip to main content

fiasco

fiasco CI status Documentation Status PyPI DOI codecov matrix

fiasco provides a Python interface to CHIANTI, an atomic database for astrophysical spectroscopy. In addition to several high-level abstractions of the atomic data, fiasco also provides many common atomic physics calculations.

Install

pip install fiasco

The CHIANTI atomic database is also required. See the docs for more details.

Usage

The primary interface in fiasco is the Ion object:

>>> import fiasco
>>> import astropy.units as u
>>> fe_18 = fiasco.Ion('Fe XVIII', 1*u.MK)
>>> fe_18
CHIANTI Database Ion
---------------------
Name: Fe 18
Element: iron (26)
Charge: +17
Number of Levels: 337
Number of Transitions: 7712

Temperature range: [1.000 MK, 1.000 MK]

HDF5 Database: ...chianti_dbase.h5
Using Datasets:
    ioneq: chianti
    abundance: sun_coronal_1992_feldman_ext
    ip: chianti

For a quick start guide to using fiasco, see this page of the documentation. For more advanced examples, see the example gallery.

Acknowledging or Citing fiasco

If you use fiasco in any published work, please cite the appropriate version of the software as well as the CHIANTI atomic database. See this page for additional details.

Why fiasco?

A fiasco, or flask, is the typical style of 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.

Metadata

Release files for fiasco 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fiasco 0.8.3
File Size Uploaded Provenance Actions
fiasco-0.8.3.tar.gz 5.8 MB Without provenance Details for fiasco-0.8.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fiasco 0.8.3
File Interpreter ABI Platform Actions
fiasco-0.8.3-py3-none-any.whl Python 3 none any Details for fiasco-0.8.3-py3-none-any.whl

Total release size: 11.7 MB

Release files / fiasco-0.8.3.tar.gz

Download URL fiasco-0.8.3.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
cd662cf7058ee6154a0c80e568416a3283f946e01c9a1a7a1e20beef34e97a0f
BLAKE2b-256 checksum
How to use checksums
9c92e8167e99fd8ab713b9a01b5aed9963568e8ecf4c130f7836cbb5b2c4ad67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / fiasco-0.8.3-py3-none-any.whl

Download URL fiasco-0.8.3-py3-none-any.whl
Size 6.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6ef600b1973d5d8e9ca5ceb44a56ec0d752d02a341d7c8a71966dae4a77f0bbd
BLAKE2b-256 checksum
How to use checksums
f77a2a4fb45b9018b71a7f81b8e92991cdeb5a9644daf5e7a08a2698e00fc540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for fiasco 0.8.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page