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.9.0

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.9.0
File Size Uploaded Provenance Actions
fiasco-0.9.0.tar.gz 5.8 MB Without provenance Details for fiasco-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.7 MB

Release files / fiasco-0.9.0.tar.gz

Download URL fiasco-0.9.0.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
16b89d1e8cb430c52daba754909e4b3e3fe2cd8b15c4f3e5ec2f1a44f3e2060a
BLAKE2b-256 checksum
How to use checksums
ac1d2bbd873c76fa9c261f55f609afe24df3338275ee196243754dde18d4efb6
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.9.0-py3-none-any.whl

Download URL fiasco-0.9.0-py3-none-any.whl
Size 6.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
33d8b6a63a609f99b6cbe50411a8e88a21af1ac26cace74239f626b420b46b86
BLAKE2b-256 checksum
How to use checksums
cb8f9e0dc5db2e7076afd20a9b76686084c27737ba39f585a44864ea2fc5be6c
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.9.0

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