Skip to main content

Galaxy spectral fitting

Project description

Bayesian Analysis of Galaxies for Physical Inference and Parameter EStimation

Bagpipes is a state of the art code for generating realistic model galaxy spectra and fitting these to spectroscopic and photometric observations. For further information please see the Bagpipes documentation at bagpipes.readthedocs.io.

Installation

Bagpipes can be installed with pip:

pip install bagpipes

Please note you cannot run the code just by cloning the repository as the large grids of models aren’t included.

Sampling algorithms within Bagpipes

The default sampler (and historically the only option) for fitting models to data is the MultiNest code, however this requires separate installation, which can be challenging on some systems. Bagpipes is now also compatible with the pure Python nautilus nested sampling algorithm, which is now installed by default along with Bagpipes, and will be automatically used for fitting if MultiNest is not installed. Even if you are used to using Bagpipes with Multinest, you may wish to try out Nautlus, as this may yield faster and/or more accurate results in some circumstances. For more information please see the bagpipes documentation.

Published papers and citing the code

Bagpipes is described primarily in Section 3 of Carnall et al. (2018), with further development specific to spectroscopic fitting described in Section 4 of Carnall et al. (2019b). These papers are the best place to start if you want to understand how the code works.

If you make use of Bagpipes, please include a citation to Carnall et al. (2018) in any publications. You may also consider citing Carnall et al. (2019b), particularly if you are fitting spectroscopy.

Please note development of the code has been ongoing since these works were published, so certain parts of the code are no longer as described. Please inquire if in doubt.

docs/images/sfh_from_spec.png

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

bagpipes-1.2.0.tar.gz (252.0 MB view details)

Uploaded Source

Built Distribution

bagpipes-1.2.0-py2.py3-none-any.whl (248.2 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file bagpipes-1.2.0.tar.gz.

File metadata

  • Download URL: bagpipes-1.2.0.tar.gz
  • Upload date:
  • Size: 252.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for bagpipes-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5672eab0bf287807b5b43793ab77dd48b2c4bd226c7b38cd8fff17106e3c8f93
MD5 87faa9d150752e7e5a476058024a195d
BLAKE2b-256 a7cb19921541c9964ee0872b93e4a006f87965cf70a53587a7d66758ef733c00

See more details on using hashes here.

File details

Details for the file bagpipes-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: bagpipes-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 248.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for bagpipes-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3cc2da89a0da2075c264b531b005fea174136ec78987634c6a8a3dbb2293ef30
MD5 1d31cf05bb61bff3118d93dca846a96a
BLAKE2b-256 2cf3f911b80c1b915df5040740e3b3bb068dcc4b17d1fb9dc7c481f083be2f63

See more details on using hashes here.

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