Skip to main content

A Python package for helping with detecting exoplanet transit dips in TESS light curves.

Project description

TESSify

A Python package for helping with detecting exoplanet transit dips in TESS light curves.


🚀 Features

  • Load and clean .fits light curve or target pixel files
  • Visualize light curves and transit candidates
  • Designed for students, researchers, and citizen scientists
  • Easily download and process raw data in bulk
  • Easily shortlist potential exoplanet candidates

📦 Installation

pip install TESSify

🛠️ Usage

Importing TESSify

from TESSify import Project

Creating a Project

a = Project()
a.create("YOUR_PROJECT_NAME")

Restoring a Project

a.restore("YOUR_PROJECT_NAME")

Downloading .fits files in bulk

#You can get bulk downloading scripts from the official TESS archive at `https://archive.stsci.edu/tess/bulk_downloads/bulk_downloads_ffi-tp-lc-dv.html`
#You can download either Target Pixel (tp) or Light Curve (lc) files. After download, copy the path of the file.

from TESSify import Project

a = Project()

a.create("Project1")

a.download("lc", r"C:\Users\Expert\Downloads\tesscurl_sector_89_lc.sh", 100)
#Enter "lc" for lightcurve and "tp" for targetpixel
#Enter the path of the script
#Enter the amount of files to be downloaded

Processing the files in bulk

#After Downloading the files, now its time to process them

from TESSify import Project

a = Project()

a.restore("Project1")

a.process(100)
#Enter the amount of files to process (It cannot be greater than the ones you have downloaded)

Finalising the LightCurves and watching out for Transit Dips

#After you have processed the files, you can see their graphs to see if there are any dips that would indicate the esistence of an exoplanet

from TESSify import Project

a = Project()

a.restore("Project1")

a.finalise(100)
#Enter the amount of files to finalise (It cannot be greater than the ones you have processed)
#This would open a window which you can navigate by:
# "Right Keyboard Button" - Next Slide
# "Left Keyboard Button" - Previous Slide
# "Down Keyboard Button" - Shortlist Slide (If you see something of interest)
# "Escape Button" - Exit Program

Getting the List of the Shortlisted Entities

#After Shortlisting several potential candidates, you might want them in a list format

from TESSify import Project

a = Project()

a.restore("Project1")

finalised_list = a.getresults()
# This returns a list in the TIC + ID format

print(finalised_list)

Saving the Shortlisted Entities as a JSON file

#You want to save the shortlisted entities in a JSON
from TESSify import Project

a = Project()

a.restore("Project1")

filepath = "Your file path"
#Enter the path to your file along with your filename and extension EX:- C:\Users\Expert\Documents\Programming\address.json

a.saveresults(filepath)

🧠 Contributing

Contributions are welcome! Open an issue or submit a pull request at https://github.com/arpit290/TESSify


📜 License

This project is licensed under the MIT License. See LICENSE for details.


👤 Author

Arpit Bishnoi https://github.com/arpit290 · bishnoiarpit29@gmail.com

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

tessify-0.4.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tessify-0.4.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file tessify-0.4.2.tar.gz.

File metadata

  • Download URL: tessify-0.4.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for tessify-0.4.2.tar.gz
Algorithm Hash digest
SHA256 16ab5baea86c463e308c5f11e37d8fe52b0defe2b5d3401fc12fc11b8a366a02
MD5 8efa19006d432926b5bea8cae8c06981
BLAKE2b-256 d5bae5208116ff249ae85ac438743d6455580c22000bbe4a53ac94874a3fa0d8

See more details on using hashes here.

File details

Details for the file tessify-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: tessify-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for tessify-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26c31d95c97203097cec2020aca7c401c7084137e0670b465d8f9ef1d004af6d
MD5 aad4e88823a32244288b4059bed42f35
BLAKE2b-256 9ef0afb928893180b4d50c19f7bb0406ee0a9324ab8e924e184e8f9622c66bcb

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