Skip to main content

A package for calculating detection probabilities in TESS

Project description

TESS-ATL

Compute the asteroseismic detection probability for a given target.

Installation

pip install tess-atl

Usage

Command line

tess-atl will query the relevant catalogs to calculate probabilities. Input target stars from the command line can take the form of a TIC ID, a Gaia DR2 ID, or a target name.

atl --target 'alf Men' 

By default, the sectors of targeted observation will be automatically calculated by tess-point. If you would like to specify the sectors, you can do so with the --sectors flag. Noise for cadence is interpolated from prior work, so this only works for 20 and 120 second cadences.

atl --target 'pi Men' --cadence 20

will give the following

ID                                                                   261136679
sectors                                                                     19
KIC                                                                       <NA>
GAIA                                                       4623036865373793408
Tmag                                                                    5.1054
ra                                                                   84.291188
dec                                                                  -80.46912
Teff                                                                    5992.1
logg                                                                    4.3589
rad                                                                    1.14889
magnitude_difference                                                  0.020912
dr3_source_id                                              4623036865373793408
proper_motion_propagation                                                 True
angular_distance                                                      0.122789
dr2_source_id                                              4623036865373793408
radius_gspphot                                                          1.2031
teff_gspspec                                                            6014.0
teff_gspphot                                                       5855.533203
logg_gspphot                                                            4.2235
logg_gspspec                                                              4.22
radius_flame                                                          1.204053
atl_teff                                                           5855.533203
atl_logg                                                                4.2235
atl_radius                                                              1.2031
Probability: 1.000, numax: 1864.345 uHz, dnu: 104.904 uHz, SNR: 0.066

If the target ID is already known, this can be supplied by specifying either --tic --kic or --gaia (DR2 only). Cross-matches will be performed automatically.

Python

Functions can be exposed for more direct access, if desired.

from atl.atl import calc_detection_probability
calc_detection_probability(
    tess_magnitude,
    temperature, # in Kelvin
    radius, # in solar radii
    logg, # in dex
    sectors, # The number of sectors the target is observed in
    cadence # The cadence of the observations (20, 120)
)

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

tess_atl-0.0.3.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

tess_atl-0.0.3-py2.py3-none-any.whl (28.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tess_atl-0.0.3.tar.gz.

File metadata

  • Download URL: tess_atl-0.0.3.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.29.0

File hashes

Hashes for tess_atl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 41ea10ca220c6c016be3a18a068b47734122b4ffe08cfe6c5dc3259445fefff3
MD5 ce19b244c29c9814a986c51763135119
BLAKE2b-256 aa5d99ccaacfb45e2a5ea1515009d0e47028252503473a4bc12d3553051a0618

See more details on using hashes here.

File details

Details for the file tess_atl-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: tess_atl-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.29.0

File hashes

Hashes for tess_atl-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d14a837474923e3d08c1d006f0661fe96bb32321216ac966ae2796cfc21b4d14
MD5 90d5066b23b1b0c158f822f23a29d70f
BLAKE2b-256 481d630f55316e5a0489d4b7eb83937e33e9b650be5604fb9c9758c7e0ab1dbd

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