ticguide

quick + painless TESS observing information

https://github.com/ashleychontos/ticguide

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

quick + painless TESS observing information

Basic Info
  • Host: GitHub
  • Owner: ashleychontos
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 348 KB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

ticguide : quick TESS data and observing info

Complementary to the TESS observing tool tvguide (see also WTV), which tells you if your target will be observed by TESS (i.e. on silicon, guaranteed FFI coverage), this tool tells you if your target was* observed by TESS in other cadences (i.e. short- and fast-cadence). * this draws only from available MAST observations and therefore does not inform you of upcoming sectors.

UPDATE: New 0.5.2 version will even download the data for you!

Installation

You can install using pip:

bash $ pip install ticguide

or via the github repository:

bash $ git clone https://github.com/ashleychontos/ticguide.git $ cd ticguide $ python setup.py install

You can check your installation with the help command:

``` ♡ ~/tics % ticguide --help usage: ticguide [-h] [--version] [--download] [--fast] [--fileinput str] [--fileselect str] [--fileall str] [--ll int] [--path str] [--progress] [--save] [--short] [--star [int ...]] [--totals] [--verbose]

ticguide: quick + painless TESS observing information

options: -h, --help show this help message and exit --version print version number and exit

--download, -d Download data for targets of interest --fast, -f Do not search for fast (20-second) cadence data --fileinput str, --input str input list of targets (currently works with txt or csv files) --fileselect str, --select str filename for sub-selected sample of observed TESS targets --fileall str, --all str path to total sample of observed TESS targets --ll int, --linelength int line length for CLI output (default=50) --path str path to directory --progress, -p disable the progress bar --save Disable the auto-saving of relevant tables, files and/or scripts for selected targets --short, -s Do not check for short (2-minute) cadence data --star [int ...], --stars [int ...], --tic [int ...] TESS Input Catalog (TIC) IDs --totals, -t Save cadence totals (by TIC ID) --verbose, -v Disable the verbose output ```

Examples

The program uses the MAST bulk downloads scripts to assemble a list of observed TIC ids to then generate the relevant material the user wants, whether it be the observed sectors and/or cadences or the actual data (yes, you read that right!).

CLI example (it may take a minute to run through all observed sectors, since it's a lot now):

``` ♡ ~ % tiguide --star 141810080

Grabbing bulk download info from MAST: 100%|███████████████████████████████████████████| 84/84 [00:46<00:00, 1.81it/s]

Saving target download scripts: 100%|███████████████████████████████████████████| 1/1 [00:00<00:00, 3302.60it/s]

              TIC 141810080                   

26 sectors(s) of short cadence -> observed in sector(s): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,

11 sectors(s) of fast cadence -> observed in sector(s): 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39
```

^^ as shown by the progress bar, the program iterated through 84 bash scripts. This makes sense since if TESS is currently on sector 55, which means there are 55 short-cadence and 29 fast-cadence sectors available (-> 55+29=84).

Command line easily handles multiple TIC IDs by appending them to a list:

``` ♡ ~/tess % ticguide --star 141810080 441462736 188768068

Grabbing bulk download info from MAST: 100%|███████████████████████████████████████████| 84/84 [00:34<00:00, 2.42it/s]

Saving target download scripts: 100%|███████████████████████████████████████████| 3/3 [00:00<00:00, 6023.41it/s]

              TIC 141810080                   

26 sectors(s) of short cadence -> observed in sector(s): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,

11 sectors(s) of fast cadence -> observed in sector(s): 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39

              TIC 441462736                   

2 sectors(s) of short cadence -> observed in sector(s): 2, 29

1 sectors(s) of fast cadence -> observed in sector(s): 29

              TIC 188768068                   

11 sectors(s) of short cadence -> observed in sector(s): 17, 20, 24, 25, 26, 40, 47, 50, 51, 53, 54

6 sectors(s) of fast cadence -> observed in sector(s): 40, 47, 50, 51, 53, 54 ```

The new download feature can be seen by the second progress bar. Even if you didn't use the download option (-d or --download), the program assumes there is some interest in the selected targets and therefore creates a bash script per target in the same way MAST provides bulk download scripts per sector!

To initialize the scripts, simply run the above command with the -d flag:

♡ ~/tess % ticguide --star 141810080 441462736 188768068 -d

... and watch it go. To keep everything nice and neat, it will create a parent directory called 'targets' and make one folder per target, where the target's light curves will be downloaded to!

If you have many many targets, you can instead provide a single-column txt or csv file, with targets listed by their TIC id (one entry per line).

``` $ head todo.csv

tic 141810080 188768068 441462736 ```

A boolean table selected_tois.csv is created using the provided list of targets (TICs) as the table indices and all unique combinations of the cadences and sectors as columns, where True would mean a given TIC was observed in the listed cadence and sector. For example, the column "S027" means short-cadence sector 27 observations, whereas "F027" is the same sector but in fast cadence.

Citation

If you find this code useful and want to cite it in your research, let me know so I can get on that!

Owner

  • Name: Ashley Chontos
  • Login: ashleychontos
  • Kind: user
  • Location: Princeton, NJ
  • Company: Princeton University

Henry Norris Russell Postdoctoral Fellow

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Chontos"
  given-names: "Ashley"
  orcid: "https://orcid.org/0000-0003-1125-2564"
title: "ticguide"
version: 0.0.1
doi: 10.5281/zenodo.5140574
date-released: 2022-01-07
url: "https://github.com/ashleychontos/ticguide"

GitHub Events

Total
Last Year

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 63
  • Total Committers: 1
  • Avg Commits per committer: 63.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ashley Chontos a****s@g****m 63

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 23 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 13
  • Total maintainers: 1
pypi.org: ticguide

quick + painless TESS observing information

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 23 Last month
Rankings
Dependent packages count: 10.0%
Stargazers count: 21.5%
Dependent repos count: 21.7%
Average: 29.4%
Forks count: 29.8%
Downloads: 63.7%
Maintainers (1)
Last synced: 8 months ago

Dependencies

requirements.txt pypi
  • bs4 *
  • numpy *
  • pandas >=1.0.5
  • tqdm *
setup.py pypi
  • bs4 *
  • numpy *
  • pandas >=1.0.5
  • tqdm *
pyproject.toml pypi