All Projects → chianti-atomic → ChiantiPy

chianti-atomic / ChiantiPy

Licence: other
ChiantiPy is a python package to calculate the radiative properties of astrophysical plasmas based on the CHIANTI atomic database

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to ChiantiPy

awesome-spectra
🌈 A collaborative list of awesome tools for spectroscopy. Also, check:
Stars: ✭ 47 (-11.32%)
Mutual labels:  astrophysics, spectroscopy
PandExo
A Community Tool for Transiting Exoplanet Science with the JWST & HST
Stars: ✭ 23 (-56.6%)
Mutual labels:  astrophysics, spectroscopy
ldtk
Python toolkit for calculating stellar limb darkening profiles and model-specific coefficients using the stellar atmosphere spectrum library by Husser et al. (2013). Described in Parviainen & Aigrain, MNRAS 453, 3821–3826 (2015).
Stars: ✭ 26 (-50.94%)
Mutual labels:  astrophysics
hytools
Hyperspectral image processing library
Stars: ✭ 37 (-30.19%)
Mutual labels:  spectroscopy
mini-nbody
A simple gravitational N-body simulation in less than 100 lines of C code, with CUDA optimizations.
Stars: ✭ 73 (+37.74%)
Mutual labels:  astrophysics
astromodels
Spatial and spectral models for astrophysics
Stars: ✭ 21 (-60.38%)
Mutual labels:  astrophysics
octotiger
Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
Stars: ✭ 30 (-43.4%)
Mutual labels:  astrophysics
heyoka
C++ library for ODE integration via Taylor's method and LLVM
Stars: ✭ 151 (+184.91%)
Mutual labels:  astrophysics
ligo.skymap
Localization of gravitational-wave transients. Mirror of https://git.ligo.org/lscsoft/ligo.skymap
Stars: ✭ 18 (-66.04%)
Mutual labels:  astrophysics
naima
Derivation of non-thermal particle distributions through MCMC spectral fitting
Stars: ✭ 32 (-39.62%)
Mutual labels:  astrophysics
HBTplus
HBT+ subhalo finder and merger tree builder, the tool to get you out of mess and back to physics.
Stars: ✭ 12 (-77.36%)
Mutual labels:  astrophysics
mwdust
Dust maps in the Milky Way
Stars: ✭ 21 (-60.38%)
Mutual labels:  astrophysics
amuse
Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
Stars: ✭ 115 (+116.98%)
Mutual labels:  astrophysics
ads2bibdesk
ads2bibdesk helps you add astrophysics articles listed on NASA/ADS to your BibDesk database using the new ADS Developer API
Stars: ✭ 32 (-39.62%)
Mutual labels:  astrophysics
gpuvmem
GPU Framework for Radio Astronomical Image Synthesis
Stars: ✭ 27 (-49.06%)
Mutual labels:  astrophysics
MAESTRO
A low Mach number stellar hydrodynamics code
Stars: ✭ 29 (-45.28%)
Mutual labels:  astrophysics
sncosmo
Python library for supernova cosmology
Stars: ✭ 53 (+0%)
Mutual labels:  astrophysics
astrodash
Deep learning for the automated spectral classification of supernovae
Stars: ✭ 25 (-52.83%)
Mutual labels:  astrophysics
LEGWORK
Package for making predictions about stellar-origin sources in space-based gravitational wave detectors
Stars: ✭ 31 (-41.51%)
Mutual labels:  astrophysics
GalerkinSparseGrids.jl
Sparse Grid Discretization with the Discontinuous Galerkin Method for solving PDEs
Stars: ✭ 39 (-26.42%)
Mutual labels:  astrophysics

ChiantiPy - Version 0.15.0

Documentation Status Coverage Status ascl:1308.017

ChiantiPy is the Python interface to the CHIANTI atomic database for astrophysical spectroscopy. It provides the capability to calculate the emission line and continuum spectrum of an optically thin plasma based on the data in the CHIANTI database.

What is CHIANTI?

CHIANTI provides a database of atomic data that can be used to interpret the emission of spectral lines and continua emitted from high-temperature, optically-thin astrophysical sources. The CHIANTI project provides a suite of routines written in Interactive Data Language (IDL) to access the database and calculate various quantities for use in interpreting observed spectra or producing synthetic spectra. As of ChiantiPy 0.10.0, the CHIANTI database version 10 or later is required

Installation

The following dependencies are required to run ChiantiPy,

The following two are extremely useful for running Python programs

Optionally, if you'd like to use the GUI dialogs,

If you are not familiar with installing Python and the needed dependencies, we recommend the Anaconda platform. Next, download the CHIANTI database, version 10.0 or later. Assuming you've placed the CHIANTI tree in $HOME, set the environment variable in your .bashrc file,

export XUVTOP=$HOME/MY_CHIANTI_DIRECTORY

should point to the top directory of your CHIANTI distribution

Finally, clone and install the source from GitHub,

$ git clone --recursive https://github.com/chianti-atomic/ChiantiPy.git
$ cd ChiantiPy
$ python setup.py install

The release is also available on PyPI

Usage

As a quick example, we'll calculate the populations of the top 10 levels of Fe XIV as a function of temperature at constant density and plot them:

>>> import ChiantiPy.core as ch
>>> import numpy as np
>>> import matplotlib.pyplot as plt
>>> temperature = np.logspace(5.8,6.8,21)
>>> fe14 = ch.ion('fe_14',temperature=temperature,eDensity=1.e+9,em=1.e+27)
>>> fe14.popPlot()
>>> plt.show()

Help

For more information about installing and using either ChiantiPy or the CHIANTI atomic database, check out the following links:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].