Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightKurve API #105

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

LightKurve API #105

wants to merge 28 commits into from

Conversation

NWelde
Copy link

@NWelde NWelde commented Apr 30, 2024

Adds API endpoint for light curve summary calculation

This pull request introduces a new API endpoint /lightcurve/summary that accepts a TIC ID in the request body and returns a JSON response containing summary statistics of the light curve.

Features:

Calculates mean, median, standard deviation, peak-to-peak, and interquartile range of the light curve flux.
Handles potential errors like missing TIC ID, invalid format, or no light curve found.
Returns informative error messages for debugging purposes.
Testing:

Manual testing with valid TIC IDs has been performed.

Copy link

height bot commented Apr 30, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant