Git Product home page Git Product logo

fiasco's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.