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#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/titans-ge/CONAN.git#egg=CONAN

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.4.tar.gz (192.9 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.4-cp311-cp311-macosx_10_15_x86_64.whl (233.0 kB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for conan_exoplanet-3.3.4.tar.gz
Algorithm Hash digest
SHA256 bc96e4f2bbcf0f15e5fb074360834e95ca0d1457c524f26452cf4ca609bf3f9a
MD5 d25b1fb55ad61c1d3cd07c601dbd5a45
BLAKE2b-256 d142ac2a92bd874ac4505c6726b909bd463430f724d9ae1e6016267183f5d388

See more details on using hashes here.

File details

Details for the file conan_exoplanet-3.3.4-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for conan_exoplanet-3.3.4-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 edf68c240c41fb6baaa6058228834f296e51ef41121a5692ff1efc6c33c86222
MD5 eee1723593407ae0558fd309a0933049
BLAKE2b-256 97fd4cfad3d497ced7e28eac46bf274347055dc30d420a83e0f1811658d937de

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