API#
ExoFOP’s capabilities are structured into two subpackages: exofop.download
and exofop.extract
.
They offer functionalities related to downloading, reading, and standardising of time data from ExoFOP.
Concretely,
exofop.download: This subpackage provides functionalities related to downloading data from ExoFOP (Exoplanet Follow-up Observing Program).
exofop.extract: This subpackage offers functionalities related to extracting and standardising the downloaded data.
Module contents#
The exofop
module serves as the main entry point to ExoFOP’s functionalities.
- exofop.BASE_URL = 'https://exofop.ipac.caltech.edu'#
Base URL for the ExoFOP website.
- exofop.COOKIES_DIR = '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/exofop/cookies'#
Directory where the cookies are stored.
- exofop.MPLSTYLE = '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/exofop/config/style.mplstyle'#
Stylesheet for matplotlib.
It is useful for users who create their own figures and want their figures following the package’ style.
Examples
Create a scatter plot with a custom size using the stylesheet.
>>> with plt.style.context(MPLSTYLE): >>> ax = plt.figure(figsize=(6, 3)).gca()
- exofop.PACKAGEDIR = '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/exofop'#
Path to the package directory.