Skip to main content

MCMC fitting code for low temperature atmosphere spectra

Project description

UCDMCMC

Markov Chain Monte Carlo (MCMC) fitting code for low-temperature stars, brown dwarfs ande extrasolar planet spectra, tuned particularly to the near-infrared.

INSTALLATION NOTES

ucdmcmc can be installed from pip:

pip install ucdmcmc

or from git:

git clone
cd ucdmcmc
python -m setup.py install

It is recommended that you install in a conda environment to ensure the dependencies do not conflict with your own installation

conda create -n ucdmcmc python=3.13
conda activate ucdmcmc
pip install ucdmcmc

A check that this worked is that you can import ucdmcmc into python/jupyter noteobook, and that the ucdmcmc.MODEL_FOLDER points to the models folder that was downloaded

ucdmcmc uses the following extenal packages:

  • astropy
  • astroquery
  • corner
  • emcee
  • matplotlib
  • numpy<2.0
  • pandas
  • tables
  • requests
  • scipy
  • statsmodels
  • tqdm

Optionally install SPLAT

To generate new model sets using the built-in generateModels() function, you will need to install SPLAT (note: this is not necessary for the other functionality in this code). SPLAT is not automatically installed on setup. The instructions are essentially the same:

git clone https://github.com/aburgasser/splat.git
cd splat
python -m pip install .

See https://github.com/aburgasser/splat for additional instructions

Models

ucdmcmc comes with a starter set of models that play nicely with the code. An extended set can be downloaded from https://spexarchive.coolstarlab.ucsd.edu/ucdmcmc/

Spectra

ucdmcmc comes with a starter set of spectra for the following instruments:

Usage

[TBD examples]

Citing the code

[TBD]

ucdmcmc and its antecedents has been used in the following publications:

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

ucdmcmc-1.1.1.tar.gz (44.1 MB view details)

Uploaded Source

Built Distribution

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

ucdmcmc-1.1.1-py3-none-any.whl (44.1 MB view details)

Uploaded Python 3

File details

Details for the file ucdmcmc-1.1.1.tar.gz.

File metadata

  • Download URL: ucdmcmc-1.1.1.tar.gz
  • Upload date:
  • Size: 44.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ucdmcmc-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7fd29c4e2260afed5fb1b2a1159b9cb34a830745c228f097f9e8634ad40b62d9
MD5 651538bdf3e1a23a5b82331a8860e399
BLAKE2b-256 c90b41aeaf652043eb418e7a8e6279191053d8b2a70f0940955652d1cb5aea03

See more details on using hashes here.

Provenance

The following attestation bundles were made for ucdmcmc-1.1.1.tar.gz:

Publisher: pypi-publish.yml on aburgasser/ucdmcmc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ucdmcmc-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: ucdmcmc-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ucdmcmc-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f05b1f3e20071e32ea439672708f30c8c6958489ca6698c14e352a5d143257f
MD5 9d8efe0a0552281d7010de8145da05d4
BLAKE2b-256 e6393f934936747746f0e20a6df10fb03a39e11962eb8c7ecfa280044e782fc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ucdmcmc-1.1.1-py3-none-any.whl:

Publisher: pypi-publish.yml on aburgasser/ucdmcmc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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