$GAUSSCA at launchStatus: concept

Developers

gaussia-search

Python: TESS light curve to detrend, BLS and a canonical result hash.

The search step of a Gaussia node: a deterministic Box Least Squares (BLS) transit search over TESS light curves that ends in a result_hash. Blind matching only works if two honest nodes get byte-identical results, so the tool defines its output down to the byte in SPEC.md.

What it does

  • Reads a local TESS SPOC light curve (FITS, PDCSAP_FLUX) or a time,flux[,quality] CSV.
  • Quality mask, normalize, sliding-median detrend, upward outlier clip.
  • BLS search (astropy.timeseries.BoxLeastSquares) over a log-uniform period grid (0.5 d to 20 d or half the baseline) and 8 durations (1 h to 6 h).
  • Iterative peaks: finds the best signal, masks its transits, searches again (top 3).
  • Reports period, t0, duration, depth, SNR, power and transit count per peak.
  • Canonical JSON with a result_hash (sha256), input file hashes and tool versions.
  • gaussia-search hash recomputes and checks the hash of any result file.

What it does not do yet

  • No download from MAST: you pass a file.
  • No vetting tests (odd/even depths, secondary eclipse), no catalog cross-match, no AI filter, no review, no on-chain seal, no payouts.
  • No GPU code. BLS runs on the CPU through astropy. GPU acceleration from the whitepaper is planned.
  • Results are signals, not candidates and never planets.

Quickstart

sh
git clone https://github.com/gaussialabs/gaussia-search && cd gaussia-search
uv sync --frozen
uv run gaussia-search file tests/vectors/synthetic.csv --json result.json
uv run gaussia-search hash result.json

On the bundled synthetic light curve (a 2.8 d, 1600 ppm box transit injected at t0 = 0.9 into 800 ppm noise) the README reports:

console
points 2880  baseline 19.99 d  noise 800 ppm  periods searched 4492
#1  P=2.80140 d  t0=0.8940  dur=2.98 h  depth=1422 ppm  SNR=19.4  transits=7
#2  P=2.68434 d  t0=0.0097  dur=1.44 h  depth=492 ppm  SNR=5.0  transits=8
#3  P=1.08017 d  t0=0.4084  dur=0.96 h  depth=409 ppm  SNR=4.7  transits=16
sha256:83dd41667ad4b85deb8494b1f4f47379c4ea1af15c723d054298a0bcd42743e4

Peak 1 is the injected transit. Peaks 2 and 3 (SNR around 5) are noise; the tool reports them because it always returns the top peaks.

Result format

Schema id gaussia-search/result/v1. Canonical JSON has sorted keys and no whitespace; floats are written as C printf("%.7e") (8 significant digits, round half to even), and integers stay integers.

text
result_hash = "sha256:" + hex(sha256(ascii(canonical_json(result without "result_hash"))))

The hashed object includes the tool, Python, numpy and astropy versions (a different version is a different result), the input file’s sha256, every pipeline parameter and the peaks. It contains no timestamps, paths or host names.

Two canonical formats today

gaussia-search v0.1.0 writes its own canonical JSON (%.7e floats, sha256: prefix). gaussia-match defines a separate canonical JSON (numbers rounded to 6 decimal places) for any result it hashes. Its commitment accepts a sha256:<hex> result hash as input, so a search result_hash can be committed as is.

Honest limits

  • The depth of a box fit with a 1-day sliding median is biased low by roughly 10 to 15% for a 3-hour transit.
  • Byte equality is tested on x86-64 Linux with the versions in uv.lock. Other platforms are untested.