Skip to main content

A Python interface to the CHIANTI atomic database

Project description

fiasco

fiasco CI status Documentation Status PyPI DOI codecov matrix

fiasco provides a Python interface to the CHIANTI, an atomic database used primarily 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.

Project details


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.5.0.tar.gz (2.9 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.5.0-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fiasco-0.5.0.tar.gz
Algorithm Hash digest
SHA256 08e3c9993ce15f1e74de028b4febe66e96add1df6e58fdf12e9be7e7856f2bf5
MD5 81a42d9f3d085d3a417ae5f1435a7b49
BLAKE2b-256 c80cf093af6de0829b1e2c098b5696decabc0c610281593f26f84d15ee3a46a2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fiasco-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d513f1e422ea0bef56a2148fd782a70d724d47d7f670d82173253bc24ef25f7
MD5 b2e6f271dde404fbe1989cec2884a268
BLAKE2b-256 4336d2fdf8776a881dbee07ac3a4b84b6752e9810d2e553a7377abb6847bacbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page