Skip to main content

CHEOPE: studying transiting exoplanets

Project description

Documentation

cheope has its own documentation and can be found here

Create the appropriate environment

It is suggestted to create a separate anaconda environment to proceed with the installation:

conda create -n cheope python==3.8 numpy scipy matplotlib pandas

After creating a conda environmnent called cheope and installed the basic libraries numpy, scipy, matplotlib and pandas, activate the environment

conda activate cheope

Before installing cheope, install cython and mpi4py using conda:

conda install cython mpi4py

Download and Install

Download with PyPI:

Simply:

pip install cheope

Download from GitHub:

git clone https://github.com/tiziano1590/cheops_analysis_package

go to your local Cheope repository and install it with the following command:

pip install -e .

IMPORTANT: For the correct usage of the parallel version of pycheops. To do so install pycheops tiziano190 repository:

git clone https://github.com/tiziano1590/pycheops

cd pycheops

switch to the parallel branch:

git checkout parallel

and install it:

pip install -e .

Cheops

In this section we regroup all the commands inherent to the CHEOPS space mission dataset analysis. Here we include some visualisation and analysis options.

Usage

To use it, simply digit the command:

cheope -i path/to/parameters/file.yml

Run initial check of a dataset

Cheope will run a basic analysis of the input dataset, checking the lightcurve and providing some basic statistics about it. The command to run the basic check is:

cheope -i path/to/parameters/file.yml -sc

Run analysis for a Single Visit observation and model selection with Bayes Factor

Cheope can run a single visit analysis for a transit observation, compares several models with different parameters and computes a Bayes factor for each of them, comparing them with the simple transit model without parameters.

To run Cheope in this configuration use the command:

cheope -i path/to/parameters/file.yml -sb

Multivisit run

In this mode, if folds all the input observations and runs a multivisit analysis. To activate the multivisit mode, run:

cheope -i path/to/parameters/file.yml -m

User-defined light curve

cheope can run also user-precomputer light curves stored in an ascii file, the minimum file should have three columns with: time, flux and the error on the flux. Once reformatted the lightcurve into a .txt or .dat file, it is possible to fit the user-defined lightcurve by using the command:

cheope -i path/to/parameters/file.yml -a

TESS

In this section we explore the possible commands to analyise TESS-like datasets

Run analysis for a Single Visit including also your Kepler/TESS points

A normal Single visit run, including Kepler/TESS observation.

The command is:

cheope -i path/to/parameters/file.yml -skt

Use of Selenium

cheope incorporates a web-browser bot able to download all the datasets related to a particular target.

The CHEOPS dataset

We bypass the official API (will be included in a future version) and use a human-simulated behaviour to log into the DACE platform and download the target's dataset. To download and run a preliminary check on a planetary system, run:

cheope -i path/to/parameters/file.yml --selenium-dace --add-single-check

The TESS dataset

Here there is a list of command to check and analyse some TESS lightcurves.

download TESS lighcurves and run preliminary check

To run the latest sectors' light curves and run a preliminary check on them:

cheope -i path/to/parameters/file.yml --selenium-tess --add-single-kepler-tess --download

Only display the TESS' lighcurves

If you want only display the TESS' lightcurve withough running any check nor analysis, run:

cheope -i path/to/parameters/file.yml --selenium-tess --read-fits

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

cheope-0.6.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file cheope-0.6.0.tar.gz.

File metadata

  • Download URL: cheope-0.6.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for cheope-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ca4f033e4ba30bb6e660f5cfc887f60b3adce64170e56d9677f8f7ac04b47283
MD5 1c6f95442c09f1f621feb6cfe82868ca
BLAKE2b-256 e5844d215abdecce976e5dea7b7e549b3011afffc9b5b88cd6c37abd2048773d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page