Open NWelde opened 5 months ago
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.
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.