Skip to main content

COde for exoplaNet ANalysis

Project description

CONAN

COde for exoplaNet ANalysis: Flexible bayesian framework for modeling heterogeeous exoplanet data

Installation

To avoid requirement conflicts with other packages, it is better to create a new environment (or clone a current environment) to install CONAN

To create a new environment:

conda create -n conan_env numpy=2.1.3 python=3.10

or to clone an existing environment with python>=3.10:

conda create -n conan_env --clone my_old_env

then

conda activate conan_env

CONAN can be installed by:

  • (1) downloading the source files from github:
git clone https://github.com/tundeakins/CONAN.git
cd CONAN 

then running pip install .

  • (2) directly using pip to install from github pip install git+https://github.com/tundeakins/CONAN.git#egg=CONAN

Note that a folder 'src' is created where the CONAN source files are downloaded to before installation.

if having troubles compiling the fortran code used for the transit model, set NO_FORTRAN=True in terminal before pip installing. This uses a python implementation of the fortran code (which is ~30X slower)

export NO_FORTRAN=True
pip install git+https://github.com/tundeakins/CONAN.git#egg=CONAN

See recent changes in change_log.rst

Fit from config file

Fit can be launched from config file within python or from the command line

  • Within python
from CONAN import fit_configfile
result = fit_configfile("input_config.dat", out_folder="output")
  • from command line:
conanfit path/to/config_file output_folder 

conanfit -h   # to see the help

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

conan_exoplanet-3.3.3.tar.gz (193.0 kB view details)

Uploaded Source

Built Distribution

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

conan_exoplanet-3.3.3-cp310-cp310-macosx_10_15_x86_64.whl (232.8 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

Details for the file conan_exoplanet-3.3.3.tar.gz.

File metadata

  • Download URL: conan_exoplanet-3.3.3.tar.gz
  • Upload date:
  • Size: 193.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for conan_exoplanet-3.3.3.tar.gz
Algorithm Hash digest
SHA256 e1fe4a7eb9a9ddf5a7bb74c708154658fe669192490a220dfc0447163a20583d
MD5 96f4855631095acd7b7d3c931f380d76
BLAKE2b-256 978e333242caac0298dfced2938b5879070331e7c22007291fcf55d7f6a0a0d5

See more details on using hashes here.

File details

Details for the file conan_exoplanet-3.3.3-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for conan_exoplanet-3.3.3-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1dd4f0a12e343b687a8e39740891776b7c2232e37d173baf2e0a765e7e814341
MD5 499224dbcb1cbcb1d2e4e60fd788f20e
BLAKE2b-256 97e976a72c1a94e2f2773132db382bf8b5bbeedcaa6e21aee8b4c68ab64239a1

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