sherlockpipe.ois.OisManager.OisManager
- class sherlockpipe.ois.OisManager.OisManager(cache_dir)
Bases:
objectHandles the tois, kois and epic ois for the different missions. Updates them from the proper web services.
- __init__(cache_dir)
Methods
__init__(cache_dir)load_ois()Loads all the ois in an in-memory dataframe.
Reloads the K2 Objects of Interest.
Reloads the Kepler Objects of Interest.
Reloads the TESS Objects of Interest.
Attributes
Final name of CTOIs csv
Url to download the CTOIs
Final name of EPIC OIs csv
Url to download the EPICs
Final name of KICs csv
Url to download the KICs
Final name of KOIs csv
Url to get the entire list of KOIs
Url to download the KOIs
Final name of TOIs csv
Url to download the TOIs
OIS DataFrame
- CTOIS_CSV = 'ctois.csv'
Final name of CTOIs csv
- CTOIS_CSV_URL = 'https://exofop.ipac.caltech.edu/tess/download_ctoi.php?sort=ctoi&output=csv'
Url to download the CTOIs
- EPIC_CSV = 'epic_ois.csv'
Final name of EPIC OIs csv
- EPIC_CSV_URL = 'https://exoplanetarchive.ipac.caltech.edu/TAP/sync?query=select+epic_hostname,pl_name,disposition,pl_orbper,sy_dist,st_teff,st_logg,st_metratio,st_metratio,st_vsin,sy_kepmag,pl_trandep,pl_trandur,pl_rade,pl_eqt,pl_orbincl,ra,dec,pl_tranmid+from+k2pandc&format=csv'
Url to download the EPICs
- KIC_STAR_CSV = 'kic_star.csv'
Final name of KICs csv
- KIC_STAR_URL = 'https://exoplanetarchive.ipac.caltech.edu/cgi-bin/nstedAPI/nph-nstedAPI?table=keplerstellar&select=kepid,dist'
Url to download the KICs
- KOIS_CSV = 'kois.csv'
Final name of KOIs csv
- KOIS_LIST_URL = 'https://exofop.ipac.caltech.edu/kepler/targets.php?sort=num-pc&page1=1&ipp1=100000&koi1=&koi2='
Url to get the entire list of KOIs
- KOI_CSV_URL = 'https://exoplanetarchive.ipac.caltech.edu/cgi-bin/nstedAPI/nph-nstedAPI?table=cumulative'
Url to download the KOIs
- TOIS_CSV = 'tois.csv'
Final name of TOIs csv
- TOIS_CSV_URL = 'https://exofop.ipac.caltech.edu/tess/download_toi.php?sort=toi&output=csv'
Url to download the TOIs
- load_ois()
Loads all the ois in an in-memory dataframe.
- Returns:
the ois dataframe
- ois = None
OIS DataFrame
- update_epic_csvs()
Reloads the K2 Objects of Interest.
- Return OisManager:
the OisManager class to be used as a fluent API.
- update_kic_csvs()
Reloads the Kepler Objects of Interest.
- Return OisManager:
the OisManager class to be used as a fluent API.
- update_tic_csvs()
Reloads the TESS Objects of Interest.
- Return OisManager:
the OisManager class to be used as a fluent API.