Fiasco
Python interface to the CHIANTI atomic database
Install / Use
/learn @wtbarnes/FiascoREADME
fiasco
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.
Related Skills
claude-opus-4-5-migration
92.1kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
343.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
feishu-drive
343.3k|
things-mac
343.3kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
