Skip to main content

Defines objects for interpolating stellar model grids.

Project description

isochrones
==========
.. image:: https://zenodo.org/badge/6253/timothydmorton/isochrones.svg
:target: http://dx.doi.org/10.5281/zenodo.16304

Provides simple interface for interacting with stellar model grids.

Installation
-----------

Install with ``pip install isochrones`` or by cloning the repository
and running ``python setup.py install``.

Depends on normal scientific libraries (e.g. ``numpy``, ``pandas``, etc.),
as can easily be installed trouble-free via, e.g., the anaconda python distribution.

For usage details, `read the documentation <http://isochrones.rtfd.org>`_ or
check out the `demo notebook <http://nbviewer.ipython.org/github/timothydmorton/isochrones/blob/master/notebooks/demo.ipynb>`_.

Stellar fits will want to use ``MultiNest``/``pymultinest`` if those packages are installed (recommended); otherwise the fits will default to MCMC fitting using ``emcee``.

Basic Usage
------------

For simplest out-of-the-box usage after installation, make a file called ``star.ini`` that
looks something like this::

Teff = 5770, 100
feh = 0.0, 0.15
logg = 4.5, 0.1
V = 10.0, 0.05

Any combination of spectroscopic or [supported] photometric properties, as well
as parallax, can go as properties into this file.

Once you've made this file, type ``starfit`` at the command line. Or if you want to be organized,
you can put ``star.ini`` in a folder called ``mystar`` [or whatever]
and run ``starfit mystar`` from the command line. The ``starfit`` script
will create an HDF5 file containing the saved ``StarModel``, which you
can load from python using ``StarModel.load_hdf``, as well as triangle
plots illustrating the fit.

Attribution
------------
If you use ``isochrones`` in your research, please cite `this ASCL reference <http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2015ascl.soft03010M&data_type=BIBTEX&db_key=AST&nocookieset=1>`_.

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

isochrones-0.9.1.tar.gz (32.8 kB view hashes)

Uploaded Source

Supported by

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