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.3.5.tar.gz (251.6 MB view details)

Uploaded Source

Built Distribution

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

bagpipes-1.3.5-py2.py3-none-any.whl (247.9 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: bagpipes-1.3.5.tar.gz
  • Upload date:
  • Size: 251.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for bagpipes-1.3.5.tar.gz
Algorithm Hash digest
SHA256 af7df351841d2be0598900888bca5e68f761b754c191adc31c7ca049efbb40b4
MD5 bb9ac5181c5fea8dd3c5b1872c523636
BLAKE2b-256 6e0f3718d7d3001d4a38d965136cd980c8d5847f990899e73c048489586ed1d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bagpipes-1.3.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 247.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for bagpipes-1.3.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c41e45f244a03113971991a83627da9f135c8c4d8eda0b0e20c8f12f16fcfe6c
MD5 b2df8831ac481247234dd9526c8a60f3
BLAKE2b-256 d52b0b61a734796a36f64ca3ca096db59b7c2ad8303fdc6d59055fed7be48165

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