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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fiasco-0.8.2.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiasco-0.8.2-py3-none-any.whl (6.0 MB view details)

Uploaded Python 3

File details

Details for the file fiasco-0.8.2.tar.gz.

File metadata

  • Download URL: fiasco-0.8.2.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fiasco-0.8.2.tar.gz
Algorithm Hash digest
SHA256 93b08fbae98e25f749c227f0a816bda5cd67b0312cef0ac430052de5657a73f2
MD5 dda484fec33feaab5f3be0539461b057
BLAKE2b-256 9b78f7fb82cfd7f590ae0a899154546375d44e4293716254d2d6ad9e6ce31690

See more details on using hashes here.

File details

Details for the file fiasco-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: fiasco-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fiasco-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8d577e9e844e3aa088907c96c3824443a1c59a51c2f1acb49e10c652d10f9f
MD5 0a934a39294039fc26c8f8b5c93c2974
BLAKE2b-256 4f0c43f92b514723f8eb00199cf270ee3320a21469887f83de35172aa73bf562

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 files

0.8.1

2 files

0.8.0

2 files

0.8.dev0

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.4.dev0

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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