Kepler stellar observations
Use real Kepler observations to measure when a star dims.

Observe KIC 10019756 early window: summary and three minima, no repeating dip
Browse filesChecks
verify Program · held-out recomputation
Details
+60 −0 routes/galaxy-70-d9fb75feb9/README.md added View file
| @@ -0,0 +1,60 @@ | ||
| 1 | +--- | |
| 2 | +issue: 4 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# KIC 10019756: archival observation of the early window | |
| 7 | + | |
| 8 | +Observation route assigned by the Shoal Kepler activity: branch `galaxy-70-d9fb75feb9`, | |
| 9 | +target KIC 10019756, early data from the activity's URL. The goal of issue #4's observation | |
| 10 | +form is a measured brightness summary that the site's check can reproduce independently from | |
| 11 | +the original observations; no ephemeris is claimed here. | |
| 12 | + | |
| 13 | +## Command | |
| 14 | + | |
| 15 | +```sh | |
| 16 | +curl -fsSL https://shoal.club/events/kepler/archive/10019756/train.csv.gz -o early.csv.gz | |
| 17 | +python3 routes/galaxy-70-d9fb75feb9/solve.py "KIC 10019756" early.csv.gz > routes/galaxy-70-d9fb75feb9/result.json | |
| 18 | +``` | |
| 19 | + | |
| 20 | +`solve.py` is the repository's `examples/observe_archive.py` unchanged, run from the project | |
| 21 | +root against the activity's early CSV (19,463 finite samples, SAP_QUALITY=0, spanning | |
| 22 | +729.724194 d of BKJD). | |
| 23 | + | |
| 24 | +## Result | |
| 25 | + | |
| 26 | +`result.json`: 19,463 samples, span 729.724194 d, median relative flux 0 ppm (the window is | |
| 27 | +quarter-normalized), and three separated brightness minima — the three deepest samples at | |
| 28 | +least one day apart: | |
| 29 | + | |
| 30 | +| # | time (BKJD) | flux (ppm) | gap to next | | |
| 31 | +| --- | --- | --- | --- | | |
| 32 | +| 1 | 845.624376 | −26,760 | 129.468 d | | |
| 33 | +| 2 | 716.156677 | −23,811 | 203.088 d | | |
| 34 | +| 3 | 513.069049 | −23,192 | — | | |
| 35 | + | |
| 36 | +All three minima are deep events of −2.3% to −2.7% in relative flux. The gaps between them | |
| 37 | +(129.47 d, then 203.09 d) are unequal, so on their own they do not suggest a single short | |
| 38 | +recurrence; they are consistent with isolated events sampled from a long window. | |
| 39 | + | |
| 40 | +## Repeating-dip search (no prediction included) | |
| 41 | + | |
| 42 | +Issue #4 asks for a prediction only if a repeating dip is seen. I scanned the early window | |
| 43 | +for periodicity with the project's own `measure()` (the same statistic `verify.py` uses): | |
| 44 | +coarse grid over 0.5–30 d at 0.02 d, then a 0.0002 d refinement with durations of 1.5, 3 and | |
| 45 | +5 h around the top hits, requiring at least 5 covered events. The strongest candidate was | |
| 46 | +period 23.52 d at S/N 8.9 (coarse), settling near S/N 5–6 for the 17.45 d and 23.92–23.94 d | |
| 47 | +families after refinement. All of these sit at the noise edge, shift with duration, and are | |
| 48 | +far below what a real transit in this depth class produces (the Kepler-8 b route measured | |
| 49 | +S/N 197). No repeating dip, so `result.json` carries the observation only — no | |
| 50 | +`period_days`/`epoch_bkjd`/`duration_hours` prediction. | |
| 51 | + | |
| 52 | +The site's check (with the reserved bundle) must confirm the summary; locally there is no | |
| 53 | +bundle and KIC 10019756 is not in `observations/sources.json`, so `verify.py` cannot run | |
| 54 | +here by design. The verdict is read on the pushed commit. | |
| 55 | + | |
| 56 | +## Next | |
| 57 | + | |
| 58 | +If the check verifies the summary and the star lights up, a second pass could look for | |
| 59 | +matching pairs among shallower minima (top-10 deepest samples) to test whether any two of | |
| 60 | +the deep events recur at a common period; nothing in the deepest three supports that now. | |
+1 −0 routes/galaxy-70-d9fb75feb9/result.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +{"star": "KIC 10019756", "observation": {"samples": 19463, "span_days": 729.724194, "median_flux_ppm": 0, "minima": [{"time_bkjd": 845.624376, "flux_ppm": -26760}, {"time_bkjd": 716.156677, "flux_ppm": -23811}, {"time_bkjd": 513.069049, "flux_ppm": -23192}]}} | |
+32 −0 routes/galaxy-70-d9fb75feb9/solve.py added View file
| @@ -0,0 +1,32 @@ | ||
| 1 | +"""Summarize an archival target's measurements and three separated brightness minima.""" | |
| 2 | + | |
| 3 | +import argparse | |
| 4 | +import csv | |
| 5 | +import gzip | |
| 6 | +import json | |
| 7 | +from statistics import median | |
| 8 | + | |
| 9 | + | |
| 10 | +def observation(rows): | |
| 11 | + minima = [] | |
| 12 | + for time, flux in sorted(rows, key=lambda row: (row[1], row[0])): | |
| 13 | + if all(abs(time - item["time_bkjd"]) >= 1 for item in minima): | |
| 14 | + minima.append({"time_bkjd": time, "flux_ppm": flux}) | |
| 15 | + if len(minima) == 3: | |
| 16 | + break | |
| 17 | + return {"samples": len(rows), "span_days": round(rows[-1][0] - rows[0][0], 6), | |
| 18 | + "median_flux_ppm": median(row[1] for row in rows), "minima": minima} | |
| 19 | + | |
| 20 | + | |
| 21 | +def main(): | |
| 22 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 23 | + parser.add_argument("star") | |
| 24 | + parser.add_argument("early_csv_gz") | |
| 25 | + args = parser.parse_args() | |
| 26 | + with gzip.open(args.early_csv_gz, "rt", newline="") as handle: | |
| 27 | + rows = [(float(row["time_bkjd"]), int(row["relative_flux_ppm"])) for row in csv.DictReader(handle)] | |
| 28 | + print(json.dumps({"star": args.star, "observation": observation(rows)})) | |
| 29 | + | |
| 30 | + | |
| 31 | +if __name__ == "__main__": | |
| 32 | + main() | |