Skip to main content

COde for exoplaNet ANalysis

Project description

Python package PyPI - Python Version Upload Python Package PyPI - Version

CONAN

COde for exoplaNet ANalysis: A flexible bayesian framework for modeling heterogeneous 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 python=3.10

then

conda activate conan_env

CONAN can be installed using different methods:

  • (1) Installing from PyPI:
    pip install conan-exoplanet
    

or

  • (2) Downloading the source files from github:

    git clone https://github.com/titans-ge/CONAN.git
    cd CONAN 
    

    then running

    pip install .
    

or

  • (3) directly using pip to install from github
    pip install git+https://github.com/titans-ge/CONAN.git
    
    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/titans-ge/CONAN.git

See recent changes in change_log.rst

Fit from config file

Fit can be launched from a 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 
    

    to see commandline help use:

    conanfit -h  
    

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.8.tar.gz (192.8 kB view details)

Uploaded Source

Built Distributions

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

conan_exoplanet-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

conan_exoplanet-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

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

File metadata

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

File hashes

Hashes for conan_exoplanet-3.3.8.tar.gz
Algorithm Hash digest
SHA256 29c23ee5087a531e878d5557c84cfc9e823638dc7dde7145b8ad3d5b570a9985
MD5 50f021a295979a9b1ed9affb4d50473b
BLAKE2b-256 5b6911dca8c79f142b239ff16b24696893008b1a79638261f0ae433eac94e365

See more details on using hashes here.

File details

Details for the file conan_exoplanet-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for conan_exoplanet-3.3.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ab10c9a7e307a337ce9f4dfa8a92f9916038c727854fb982ee7eceab2ae856e
MD5 5d5a348daca489b4c83c90d9dbc2e095
BLAKE2b-256 2593f4b3ba4569e704261662c5799f64367d1cadbb725a76b47fd3cbdcf1f9b9

See more details on using hashes here.

File details

Details for the file conan_exoplanet-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for conan_exoplanet-3.3.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d9d697ca0a2cf6d080ecbb97829fae34627d47cb1a4dcbcc35e083cd69300fa
MD5 8a49880ae00fba22642cba32e038a637
BLAKE2b-256 57126bffa2beec47c3813306314933a04cee94a03a79e07fbc00b3a7628aa0cf

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