Skip to content

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.

1 participant