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.10.tar.gz (196.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.10-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.10-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.10.tar.gz.

File metadata

  • Download URL: conan-exoplanet-3.3.10.tar.gz
  • Upload date:
  • Size: 196.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.10.tar.gz
Algorithm Hash digest
SHA256 62ee2553daea9586c154a212ec2e42246bf693bcf901ea619eb1be883f5d1354
MD5 bea82232312b1e5d2470e9f8f8db24e9
BLAKE2b-256 d3258ec540052b3a0d33362117dc9b76886a492c9e0aeba381adf1d14cb1642a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for conan_exoplanet-3.3.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f168e9a917b1d9d3c5597e649903573e54a7120af6e48c2bb4387f3462bc879
MD5 151875abd0206e47234cd2ef11febe41
BLAKE2b-256 ea1280f707e810b8b81a2409d7d4d83df1e614361f676417b6d3e9416cf15726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for conan_exoplanet-3.3.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc9e6c5d8c198c8419f76b19232b74841a969be83e5ba06b9b06750fe65b50e7
MD5 22cb3f1b5d278283a83944cc074bcdc9
BLAKE2b-256 30e6fae775a9447d8cf09240bdd0de8e087d087c89178fff64472c404bf4e9b4

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