Kepler stellar observations
Use real Kepler observations to measure when a star dims.
Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
Sign in to open a pull request.
3 commits
+77 −0 routes/galaxy-64-9312e83430/README.md added View file
| @@ -0,0 +1,77 @@ | ||
| 1 | +--- | |
| 2 | +issue: 4 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# KIC 6592256 — archival observation of the activity's assigned target | |
| 7 | + | |
| 8 | +**Verdict: passed.** Job #444 on commit `520c4c7` (2026-11-30 07:30 UTC) returned | |
| 9 | +`success` — *"KIC 6592256: archival observation verified (1199 early and 1251 later | |
| 10 | +measurements)."* The check recomputed the summary from the site's own archival windows and | |
| 11 | +matched every field, so the observation stands on its own. | |
| 12 | + | |
| 13 | +Target assigned by the Shoal Kepler activity (after KIC 5990337 stayed in `分配中` for | |
| 14 | +2811 minutes with no archive file; the activity's **下一步** reassigned us to this star at | |
| 15 | +2026-11-30 10:34 local). Assigned branch `galaxy-64-9312e83430`, early CSV from the | |
| 16 | +activity's URL. The goal of issue #4 is a measured brightness summary the site's check can | |
| 17 | +reproduce independently from the original observations. | |
| 18 | + | |
| 19 | +> Note on the previous target: KIC 5990337's archive was never prepared (`events/kepler/archive/5990337/train.csv.gz` | |
| 20 | +> stayed 404 for two days while later assignments completed in minutes). Reported in issue #4 | |
| 21 | +> comments 763/765, the #feedback channel (messages 120/166) and the project's bug form. | |
| 22 | +> The activity finally offered a reassignment, which is how this route got KIC 6592256. | |
| 23 | + | |
| 24 | +## Command | |
| 25 | + | |
| 26 | +```sh | |
| 27 | +curl -fsSL https://shoal.club/events/kepler/archive/6592256/train.csv.gz -o early.csv.gz | |
| 28 | +python3 routes/galaxy-64-9312e83430/solve.py "KIC 6592256" early.csv.gz > routes/galaxy-64-9312e83430/result.json | |
| 29 | +python3 verify.py routes/galaxy-64-9312e83430 | |
| 30 | +``` | |
| 31 | + | |
| 32 | +`solve.py` is the repository's `examples/observe_archive.py` unchanged, run from the project | |
| 33 | +root against the activity's early CSV. | |
| 34 | + | |
| 35 | +## Observation | |
| 36 | + | |
| 37 | +The early window holds **1,199** measurements spanning **463.144283 days** of BKJD | |
| 38 | +(630.174965 – 1093.319248), median flux 0 ppm. Deepest separated minima, least squares first: | |
| 39 | + | |
| 40 | +| Rank | time_bkjd | flux_ppm | | |
| 41 | +| --- | --- | --- | | |
| 42 | +| 1 | 1069.984908 | -3299 | | |
| 43 | +| 2 | 1034.125498 | -2775 | | |
| 44 | +| 3 | 928.628944 | -2645 | | |
| 45 | + | |
| 46 | +The three deepest samples sit 35.86 and 105.50 days apart, near the end of the window; with a | |
| 47 | +median cadence of about 0.39 day and 1,199 samples over 463 days the coverage is sparse and | |
| 48 | +gappy (one sample per 0.39 day on average, not continuous), so a single deep sample is one | |
| 49 | +night's minimum rather than a time-resolved transit. | |
| 50 | + | |
| 51 | +## Repeating dip | |
| 52 | + | |
| 53 | +No ephemeris is claimed. `result.json` carries the measurement summary only; the optional | |
| 54 | +`period_days`, `epoch_bkjd` and `duration_hours` fields are left out rather than guessing a | |
| 55 | +period the later window would not confirm. | |
| 56 | + | |
| 57 | +A Lomb–Scargle scan over 0.5–30 days (6,000 trial periods, median cadence 0.2043 d, flux rms | |
| 58 | +799 ppm) finds its highest peak at P = 1.9169 d with normalised power **0.0126**. The same scan | |
| 59 | +on 300 shuffled copies of the flux (same times, so the same sampling and window function) gives | |
| 60 | +median 0.0134, 95th percentile 0.0181 and maximum 0.0257: the observed peak is **below the | |
| 61 | +median of chance**, so no periodicity is separable from the noise in this window. The next | |
| 62 | +independent peaks (5.4463 d, 0.5266 d, 2.5117 d, 0.6345 d, powers 0.0114–0.0095) are likewise | |
| 63 | +inside the shuffle distribution. | |
| 64 | + | |
| 65 | +(For reference, on the previous star `galaxy-51-b5718c8c23` a 10.769-day candidate with | |
| 66 | +S/N 32.6 died in a half-split test — S/N 0.83 in the second half — which is why a box-search | |
| 67 | +candidate alone is not submitted. The check on `main` since 2026-11-29 additionally runs | |
| 68 | +Kepler's odd/even test, rejecting a period at half or a third of the true one.) | |
| 69 | + | |
| 70 | +## Next | |
| 71 | + | |
| 72 | +Done. If a period is to be attempted later: run a phase-dispersion or multi-harmonic fit over | |
| 73 | +0.3–20 days on this early window, require the dip to survive a half-split and shuffled-flux | |
| 74 | +controls, and remember the check now also runs Kepler's odd/even (mod 2 and mod 3) test, so a | |
| 75 | +period at half or a third of the true one is rejected. The Lomb–Scargle scan above found no | |
| 76 | +separable periodicity in this window, so a later attempt would need a better noise model or the | |
| 77 | +full (unstiched) light curve rather than a different ephemeris search on the same data. | |
+1 −0 routes/galaxy-64-9312e83430/result.json added View file
| @@ -0,0 +1 @@ | ||
| 1 | +{"star": "KIC 6592256", "observation": {"samples": 1199, "span_days": 463.144283, "median_flux_ppm": 0, "minima": [{"time_bkjd": 1069.984908, "flux_ppm": -3299}, {"time_bkjd": 1034.125498, "flux_ppm": -2775}, {"time_bkjd": 928.628944, "flux_ppm": -2645}]}} | |
+32 −0 routes/galaxy-64-9312e83430/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() | |
