Skip to main content

A Python package for nebular analysis

Project description

PyNeb (Luridiana V., Morisset C. and Shaw, R. A 2013) is a modern python tool to compute emission line emissivities (recombination and collisionally excited lines).

In PyNeb, the atom is represented as an n-level atom. For given density and temperature, PyNeb's machinery solves the equilibrium equations and determines the level populations. These are some of the things it can do:

  • compute physical conditions from suitable diagnostic line ratios.
  • compute level populations, critical densities and line emissivities
  • compute and display emissivity grids as a function of Te and Ne
  • deredden line intensities
  • read and manage observational data
  • plot and compare atomic data from different publications
  • compute ionic abundances from line intensities and physical conditions
  • compute elemental abundances from ionic abundances and icfs.

PyNeb also incorporates emissivity tables of recombination lines for a few atoms. The interpolated emissivities can be used by any of the module that rely on the n-level line emissivities to carry out the actions listed above.

Emission line ratios are used to self consistently determine electron temperature and density and ionic abundances
Diagnostic diagrams can easily be plotted.
Various ionization correction factors (ICFs) from the literarure are available to obtain total elemental abundances from the ionic abundances.
Atomic data can easily be changed and updated.
Additional tools are provided, like reddening determination and correction procedures, Balmer/Pashen jump
temperature determinations.

Citation

If you use PyNeb in your research, please cite the following paper:

Requirements

PyNeb uses numpy, matplotlib, pyfits, scipy and other standard python libraries.

Installation

You may find useful to download, install and upgrade PyNeb using pip.

For example:

  • pip install -U PyNeb

Note: you MAY need --user if you installed python without Anaconda or Canopy.

Updates use the same command.

You can also install from the github repository:

  • pip install -U git+https://github.com/Morisset/PyNeb_devel.git

To use the development branch (at your own risks!!!):

  • pip install -U git+https://github.com/Morisset/PyNeb_devel.git@devel

Warranty

PyNeb is provided as it is. No warranty at all.

Manual

Discussion Groups

Acknowledgements

This project is partly supported by grants DGAPA/PAPIIT-107215 and CONACyT-CB2015-254132.

PyNeb uses part of Chiantipy:

  • Utility functions, many for reading the CHIANTI database files:

Copyright 2009, 2010 Kenneth P. Dere
This software is distributed under the terms of the GNU General Public License that is found in the LICENSE file

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pyneb-1.1.29.tar.gz (27.8 MB view details)

Uploaded Source

Built Distribution

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

pyneb-1.1.29-py3-none-any.whl (28.7 MB view details)

Uploaded Python 3

File details

Details for the file pyneb-1.1.29.tar.gz.

File metadata

  • Download URL: pyneb-1.1.29.tar.gz
  • Upload date:
  • Size: 27.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for pyneb-1.1.29.tar.gz
Algorithm Hash digest
SHA256 be778772c9c8fa13d46173d0fd12c23ad2f7e56182cc6f98009999de66af3fc0
MD5 818d2ff123ef0e6911d53b1b71392dcc
BLAKE2b-256 67c1e12c895b0a853b390a56b33329b7f5776c3b1beeaac6022af481245aae30

See more details on using hashes here.

File details

Details for the file pyneb-1.1.29-py3-none-any.whl.

File metadata

  • Download URL: pyneb-1.1.29-py3-none-any.whl
  • Upload date:
  • Size: 28.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for pyneb-1.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 7bb11c6b45b9791b3af315752632df30e2359673dd64036280d13f05e3f3ae5d
MD5 6fdeffe742449576b056ea8b7f565286
BLAKE2b-256 42f8223243b864659059ce8b4c71998d22b8ac7b357f0bd77830f091be86ed3c

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