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.9.tar.gz (195.2 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.9-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.9-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.9.tar.gz.

File metadata

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

File hashes

Hashes for conan_exoplanet-3.3.9.tar.gz
Algorithm Hash digest
SHA256 9dab970b7e423678b2d777e48aba8e84d49b19c6b16c9b4a1219fe167b600eee
MD5 f0d6c66384a5c19403c3464532a3d2d9
BLAKE2b-256 fe954c4befc8a450ec6eee9e0f607d221c9f74b7e980dd231d05df8ee2d1573e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for conan_exoplanet-3.3.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e0ff254c474d2028cd476bec154f42749ccebb3bb5feb54f904b88a3767ca52
MD5 9baf5c0eac972d45014dbc2ffa8d2a5c
BLAKE2b-256 e357713cb65dfa625546b3e2765b03e1adacece335f56acea821f11195e50465

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for conan_exoplanet-3.3.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c90d71f290e93c003ac6d467749ae49ebecacd52c3c3fda626e8f05c1814ca1a
MD5 c4443a277f4867c1650cfe84ce7d3c7f
BLAKE2b-256 b7bc649d6b44c4f7cdbcb8dce7aef2647d0f9df54c3b51db8364148485da427d

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