Skip to content

About

Blink comparator for NASA's SPHEREx: finds what moves with no catalogue, confirms it across detectors, measures blackbody-equivalent temperatures (Madhava engine) and says when the data cannot support a conclusion. Pre-registered held-out tests. NASA Space Apps 2026, Planet X and SPHEREx.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Cold Movers

Cold Movers lets anyone explore SPHEREx observations, follow changes between visits, and see explicitly when the data do not support a reliable conclusion.

NASA Space Apps Challenge 2026 · Challenge: Planet X and SPHEREx · Team: Cold Movers (Honduras) · Live app: https://cold-movers.streamlit.app

What the Evidence Actually Shows

In plain words: Cold Movers measured the motion of two known nearby objects in real SPHEREx images and confirmed it on its own. It sees a third one moving, but only as a candidate. Where the data cannot answer, it says inconclusive. Its detection rates come only from artificial movers added to copies of real images; those are tests, never discoveries. No new object is claimed. Each line below is generated from the result files by scripts/evidence_report.py, and the app and the final report show the same table. Every claim, with its file, test or figure, is in the evidence ledger.

Kind of evidence What it shows
A · Real SPHEREx measurements Motion of Barnard's Star: CONFIRMED; Motion of Epsilon Indi B: CONFIRMED; Temperature of TRAPPIST-1: MEASURED WITH CAVEATS; Temperature of Epsilon Indi B: MEASURED WITH CAVEATS; Brightness change of R Draconis: MEASURED; Confirmed movers other than the known targets, six fields: NONE FOUND; Position errors, checked on still stars: MEASURED
B · Injection-recovery tests (artificial movers in real images, never discoveries) Injected movers at S/N 8 (scoreboard campaign): partial; Injected movers at S/N 15 (scoreboard campaign): pass; Injected movers at S/N 30 (scoreboard campaign): pass; Very red injected movers (detectors 5 and 6 only): fail; Development benchmark (3,300 trials, seed 2026): reported; Held-out set A (pre-registered, seed 20261115, same six fields): reported; Held-out set B (pre-registered, new SPHEREx fields): reported; Motion uncertainties on injections (development): reported; Motion uncertainties on injections (held-out A): reported
C · Candidates, not confirmed Motion of WISE 0855-0714: CANDIDATE; Candidates for new, unknown objects: NONE FOUND
D · Inconclusive or not detected Motion of RW Aurigae: NOT DETECTED; Motion of R Draconis: INCONCLUSIVE; Motion of TRAPPIST-1: NOT DETECTED; Temperature of Barnard's Star: INCONCLUSIVE; Temperature of WISE 0855-0714: INCONCLUSIVE; Temperature of RW Aurigae: INCONCLUSIVE; Temperature of R Draconis: INCONCLUSIVE; Brightness change of RW Aurigae: INCONCLUSIVE
S · Synthetic or computed checks Temperature intervals on synthetic spectra: reported; Madhava recovers known temperatures: pass; Series error stays inside Madhava's guaranteed bound: pass; Parallax bias of the straight-line motion fit: reported

Confirmed by our own SPHEREx measurements: 2 motions (Barnard's Star, Epsilon Indi B). Catalogue values are shown only for comparison and are never counted as our measurement. Detection rates come only from injected movers: S/N 15: precision 0.986, recall 0.40 (69 of 173, 1 false confirmation); S/N 30: precision 0.929, recall 0.46. (held-out A)

Barnard's Star crossing the sky, visit by visit WISE 0855, the coldest known brown dwarf, at 3.8–4.4 µm
Barnard's Star movie WISE 0855 movie
Measured motion 11.1″ between the first and last SPHEREx visit; the catalogue predicts 11.1″. Seen only at the longest wavelengths, moving past a background star that the checks detect and remove.

The app: summary, 60-second guide and validation

Images are real SPHEREx data processed by the app.

Tests, not discoveries. Every result shown here is a test on known objects (the five challenge objects and TRAPPIST-1). Cold Movers claims no discovery; the same tools run on any coordinates you type, and the validation scoreboard shows how well they work.

For evaluators: the science in one page

Question Answer
What problem does it solve? It finds objects that move across the sky in SPHEREx's repeated observations, measures how cold they look, and says explicitly when the data cannot support a conclusion.
What real data does it use? SPHEREx spectral images, Data Release 1 + Quick Release 3, from NASA/IPAC IRSA (doi:10.26131/IRSA678): 1,749 images of six test objects. Every measurement keeps the URL of its original file (the url column of each CSV). A link check on GitHub Actions opens a sample of those files at IRSA.
How does it detect a moving object? In each detector's visit stacks it finds point sources (6σ peaks), follows each one to the nearest source in the other visits and fits a straight line. No catalogue position or motion is used.
How does it validate a detection? CONFIRMED only when two or more of SPHEREx's six simultaneously exposed detectors show the same motion with a combined significance of 5 or more, in detectors whose still stars line up, and no more significant mover passes within 4 px. Weaker evidence is a CANDIDATE; when the detectors cannot be trusted, INCONCLUSIVE; trusted detectors with no motion, NOT DETECTED. A temperature on a red traffic light is INCONCLUSIVE.
What results did it get? The verdicts below, the validation table, the scoreboard and the detection metrics below.
What are its limits? See Honest limits and the final validation report. The search does not find every moving object.
How can the analysis be reproduced? pip install -r requirements.txt, then python -m pytest -q, python scripts/scoreboard.py, python scripts/benchmark_injection.py, python scripts/benchmark_holdout.py; see REPRODUCIBILITY.md.

Three kinds of data, never mixed. Observational: the SPHEREx images and everything measured from them (movies, positions, photometry, temperatures, brightness changes). Synthetic: computed blackbody spectra and series checks, used only in tests and in the scoreboard's "Synthetic" rows. Injected: fake moving point sources added to copies of real SPHEREx stacks, used only to measure detection rates. Injected sources never appear in the app's movies or results.

Object Motion verdict Temperature verdict
Barnard's Star CONFIRMED (detectors 5 and 6) INCONCLUSIVE (saturated)
Epsilon Indi B CONFIRMED (5 detectors) MEASURED WITH CAVEATS (blackbody-equivalent only)
WISE 0855−0714 CANDIDATE (one detector) INCONCLUSIVE (seen only beyond 3 µm)
RW Aurigae NOT DETECTED, as expected for a star that barely moves INCONCLUSIVE (saturated)
R Draconis INCONCLUSIVE (no detector can be trusted: saturated halo) INCONCLUSIVE (saturated)
TRAPPIST-1 (extra) NOT DETECTED, as expected: 1.05″/yr is below what a year of visits can confirm MEASURED WITH CAVEATS (2,464 K blackbody-equivalent)

Detection metrics. TP: an injected mover confirmed within 1.5 px of where it was. FN: an injected mover not confirmed. FP: a confirmed mover that was neither injected nor there before. Precision = TP / (TP + FP); recall = TP / injections; F1 is their harmonic mean. Conditions: all six detectors, speeds 5–20″/yr, 95 % Wilson intervals in brackets. The neighbour-pull rule was chosen on the development set, so its numbers are optimistic. The held-out set was pre-registered and run once, with no parameter changed.

Set and S/N Injections TP FN FP Precision Recall F1
Development (3,300 trials, seed 2026), S/N 15 396 153 243 3 0.98 (0.94–0.99) 0.39 (0.34–0.44) 0.55
Held-out A (seed 20261115, new spots and motions, same six fields), S/N 15 173 69 104 1 0.99 (0.92–1.00) 0.40 (0.33–0.47) 0.57
Held-out B (two new SPHEREx fields), S/N 15 60 43 17 0 1.00 (0.92–1.00) 0.72 (0.59–0.81) 0.83
Development, S/N 30 396 170 226 3 0.98 (0.95–0.99) 0.43 (0.38–0.48) 0.60
Held-out A, S/N 30 173 79 94 6 0.93 (0.85–0.97) 0.46 (0.38–0.53) 0.61
Held-out B, S/N 30 60 51 9 0 1.00 (0.93–1.00) 0.85 (0.74–0.92) 0.92
Development, S/N 8 396 107 289 1 0.99 (0.95–1.00) 0.27 (0.23–0.32) 0.42
Held-out A, S/N 8 173 46 127 2 0.96 (0.86–0.99) 0.27 (0.21–0.34) 0.42
Held-out B, S/N 8 60 33 27 0 1.00 (0.90–1.00) 0.55 (0.42–0.67) 0.71

At S/N 15 the held-out set agrees with the development set (held-out precision 0.99, recall 0.40). At S/N 30 the held-out precision is lower: a bright mover passing a star can still pull the star's centroid enough for the star to be confirmed when the mover itself is not tracked. Set B used two SPHEREx fields never seen before, in the Galactic plane (l = 30°) and at high latitude (l = 90°, b = +45°). The two ecliptic-pole fields of the pre-registration could not be downloaded, because IRSA's search answered 502, and they are reported missing, not replaced. On set B there was no false confirmation at 5–20″/yr and recall was higher, 0.72 at S/N 15: these fields have no saturated halos. Very red movers were confirmed in 60 % of cases, against 13 % in the six test fields. This supports the diagnosis that the red-mover failure comes from sparse, disturbed long-wavelength fields. With 60 injections per S/N, set B's intervals are wide. Breakdowns by speed, environment (quiet, near a star, crowded), field and very red movers are in the final validation report.

Enter sky coordinates, a star name, or pick one of the five challenge objects. Cold Movers:

  1. asks NASA/IPAC IRSA for every SPHEREx image covering that spot (Data Release 1 + Quick Release 3),
  2. downloads small cutouts, aligns them on the same patch of sky and plays them as a movie, visit by visit, one per detector, so anything that moves or varies stands out,
  3. follows the object's proper motion and measures it in every image to build its 0.75–5 µm spectrum,
  4. runs the Madhava engine, a band-integrated Planck fit that gives a blackbody-equivalent temperature with an uncertainty and a traffic light that says how far to trust it,
  5. finds what moves in the field without any catalogue: every source is followed through the visits and a motion is fitted; a mover is confirmed only when two or more detectors agree,
  6. runs four "Is it real?" consistency checks (indicators, not confirmation of a discovery): seen again in another visit, clean pixels, positions consistent with the catalogue motion, and no blended neighbour,
  7. draws a visual assistant on the movie: the catalogue prediction, the position measured in each visit with the measured motion vector, a ring coloured by the consistency checks, and the movers found without any catalogue; a difference view subtracts the first visit from any later one, and a sum view adds all visits together (still faint sources stand out, movers smear along their path); the movers found can be downloaded as CSV with positions, motion and the Gaia check; a trajectory panel plots the measured position against time with error bars, fits a straight line and gives the motion with its uncertainty and a reduced χ²,
  8. explains what you are looking at in plain words ("it moved 11.1 arcseconds, about 1.8 pixels"; "it only shows up beyond 3 µm, so it is very cold"; "red light because it saturates the detector"), every sentence written from the measurements on the page.

Every result can be shared as a link (?object=wise0855 or ?ra=..&dec=..) and downloaded as CSV or GIF.

In one sentence: Cold Movers follows and verifies the motion of known objects with SPHEREx's repeated observations, finds movers in a field with no catalogue, and says explicitly when the data cannot support a temperature. Every measurement links to its original SPHEREx file at NASA/IPAC IRSA (the url column of every CSV and the audit trail in the app).

Validation (results frozen on Nov 14, 2026)

Real SPHEREx DR1 + QR3 data, processed by the app. "Measured near the track" centroids the target close to the catalogue prediction (it tests agreement). "Found with no catalogue" uses no prior position or motion at all.

Object SPHEREx images / visits Moved between first and last visit (measured / catalogue) Found with no catalogue Catalogue motion Blackbody-equivalent temperature Published
Barnard's Star 300 / 6 11.1″ / 11.1″ 9.83″/yr towards 354°, confirmed (detectors 5, 6) 10.39″/yr, 356° 🔴 too bright: saturates SPHEREx 3231 ± 21 K
Epsilon Indi B 299 / 4 6.4″ / 6.6″ 4.54″/yr towards 125°, confirmed (5 detectors) 4.68″/yr, 122° 🟡 1,874 K: not a single blackbody (brown dwarfs have strong molecular bands) Ba ≈ 1300–1340 K, Bb ≈ 880–940 K
WISE 0855−0714 256 / 4 9.5″ / 8.1″ 6.36″/yr towards 268°, candidate (detector 5 only) 8.15″/yr, 275° 🔴 only seen beyond 3 µm: very cold, range too narrow ≈ 285 K
RW Aurigae 299 / 3 0.5″ / 0.0″ no mover (correct) 0.02″/yr 🔴 saturates beyond 1.1 µm K-type star with a disk
R Draconis 300 / 3 0.4″ / 0.0″ field not trusted (saturated halo), says so 0.02″/yr 🔴 too bright Mira variable
TRAPPIST-1 (extra) 295 / 3 1.1″ / 1.0″ too slow to detect in one year (correct) 1.05″/yr, 117° 🟡 2,464 K (−4 %): not a single blackbody 2566 ± 26 K

Validation scoreboard: 14 pass · 4 partial · 1 fail (19 checks)

Pass rules are fixed in coldmovers/scoreboard.py before the results, and every result is shown; the full table is in docs/scoreboard.md, generated on GitHub Actions with the app's own code.

  • Positive controls: Barnard's Star and Epsilon Indi B are found moving with no catalogue (−5 % and −3 % from the catalogue rate, 2° and 4° in direction); TRAPPIST-1's blackbody-equivalent temperature is −4 % from the published value; R Draconis is seen to vary (0.57 mag, 9.6σ).
  • Negative controls: R Draconis and RW Aurigae, which do not move, give no false mover; no unexplained confirmed mover in any of the six fields; Barnard's Star (saturated) and WISE 0855 (too cold for SPHEREx to see its peak) get a red light instead of a number.
  • Injected movers: fake moving point sources added to the real SPHEREx stacks, 120 per brightness level (quiet spots, speeds 5-20″/yr, in the four fields where at least four detectors line up): 88 % recovered as confirmed at S/N 15 (median rate error 5.3 %, direction 2°), 91 % at S/N 30, 66 % at S/N 8. A wider blind benchmark (3,300 trials over all six fields, spots next to stars, 2-40″/yr, S/N 5-30) measures precision as well as recall: at S/N 15 it found that a mover passing 2-4 px from a still star could make the star look like a mover (precision 0.87); the neighbour-pull rule fixed it (precision 0.98, recall 0.41 → 0.39). That rule was chosen on the same trials, so a pre-registered held-out set re-measured it: precision 0.99, recall 0.40 at S/N 15, consistent, but precision 0.93 at S/N 30 (table above). See the evidence dossier.
  • Partial: WISE 0855 is only a candidate (one detector, rate −22 %); Epsilon Indi B's temperature is 40 % above the published range (flagged yellow); RW Aurigae only possibly varies (4.6σ); S/N 8 is our detection limit.
  • Failed, and why: very red movers seen by only the two longest-wavelength detectors are confirmed in 28 % of cases. In sparse long-wavelength fields, the rule that checks whether a detector lines up distrusts it when the target itself moves or a saturated halo is present. Fixing this is our first next step.

Evidence dossier

An audit of the whole project, with every claim checked against code and data, is in evidence/. Start with the evidence ledger (every claim, its kind of evidence and where to check it), the final validation report (audit, independent evaluation, astrometry, open problems, how to publish), the held-out pre-registration, every detection metric and the calibration of uncertainties (pre-registered in CALIBRATION_PREREGISTRATION.md). Also: global audit, scientific validation, blind benchmark and its tables, limitations and uncertainty, reproducibility, competitive analysis, the final submission review, and originality and provenance: which methods are established science (with references), which third-party techniques we credit, what was developed here, which results are new and which reproduce known values, and a code comparison with a competitor's repository (no shared function, file or algorithm). Per-object evidence records (files, visits, detectors, measured value, reference, uncertainty, difference) are generated by the app's own code in docs/validation_records.md.

Motion with its uncertainty: Barnard's Star

Trajectory of Barnard's Star in Cold Movers: measured positions with error bars, straight-line fit and catalogue prediction

Six SPHEREx visits, each position with its 1σ error bar (alignment between visits plus centroid noise). The weighted straight-line fit gives 10.69 ± 0.76″ per year towards 357° ± 4°; the catalogue gives 10.39″ per year towards 356°, a difference of 0.4σ, and the reduced χ² of 1.05 says the points follow a straight line within their errors. These positions are measured near the predicted track; the catalogue-free search (section 2 of the app) finds 9.83″/yr independently.

The Madhava engine in action: TRAPPIST-1

TRAPPIST-1 in Cold Movers: SPHEREx spectrum, Madhava fit and the published value

TRAPPIST-1 is not in the challenge brief. We added it because it does not saturate SPHEREx and its temperature is precisely published. From 237 clean measurements in 295 SPHEREx images (3 visits), the Madhava engine gives a blackbody-equivalent temperature of 2,464 K (range 2,443–2,486 K), 4 % below the published effective temperature of 2,566 ± 26 K (Agol et al. 2021). The traffic light is yellow on purpose: the residuals are structured (reduced χ² 12.9), as expected for a cool atmosphere with molecular bands, so one blackbody is a guide rather than a full description, and the two temperatures are different quantities compared, not matched. Behind the number, each band integral used 22 series terms plus Madhava's correction, with a guaranteed error below 10⁻¹². Its motion between the first and last visit is 1.1″ measured against 1.0″ from the catalogue.

Position angles are east of north. Published temperatures are effective temperatures from detailed models; a blackbody-equivalent temperature is a different quantity, shown next to them for comparison, not as a match. Sources: see DATA_AND_RESOURCES.md. These numbers are generated by the app's own code in docs/validation.md.

Software checks: 101 automated tests (series against numerical integration of Planck's law to 1e-8, Madhava's correction term against its guaranteed error bound, synthetic spectra, photometry, proper motion, consistency checks, brightness changes, mover search, visual assistant and plain-language explanations), plus the whole app run headless for every example on each change.

Why a blink comparator?

In 1930 Clyde Tombaugh found Pluto at Lowell Observatory, during the search for "Planet X": a blink comparator flipped between two plates of one star field, exposed days apart, and the planet was the dot that jumped. Cold Movers is a digital blink comparator for SPHEREx. Cold brown dwarfs such as WISE 0855 are invisible to the eye; only infrared light and their motion give them away.

How it works

Step What we do Why
Search IRSA Simple Image Access (collections spherex_dr1, spherex_qr3); TAP on spherex.plane as fallback Queries the configured collections live, so observations added to them appear without code changes; a new release name is one line (COLLECTIONS in coldmovers/spherex.py)
Cutouts IRSA cutout service (?center=RA,DEC&size=DEG) around the position propagated to each image's date Barnard's Star moves 10.4″/yr: a year-2000 position is 44 SPHEREx pixels off by 2026
Movie Each cutout is resampled onto one tangent-plane grid with its own WCS; images of the same detector taken during one visit (gap > 20 days) are averaged SPHEREx's linear variable filters change wavelength across each detector, so raw frames flicker in colour; per-detector visit stacks are stable and make motion visible, in the spirit of WiseView
Photometry 2.5-pixel aperture, background from a 5–9 pixel ring, FLAGS-based pixel rejection, MJy/sr × pixel solid angle → µJy The wavelength of each measurement comes from the image's own spectral WCS (WCS-WAVE) at the target's pixel
Madhava engine Free temperature and scale; each band integrated exactly with the series F(0→λ) = (15/π⁴) Σ e^(−nx)(x³/n + 3x²/n² + 6x/n³ + 6/n⁴), x = hc/λkT; 8 % systematic floor; uncertainty from the χ² profile, inflated when χ²/dof > 1 SPHEREx bands are wide (R ≈ 35–130); integrating the curve over each band is more faithful than sampling it at the centre
Traffic light 🟢 Planck peak inside SPHEREx coverage (≈580–3860 K) and one blackbody fits; 🟡 measured but not a single blackbody (molecular bands, disk, variability) or peak outside coverage; 🔴 no reliable temperature (too faint, saturated, or edge of range) The tool says when not to trust it

"Madhava" is a homage to Madhava of Sangamagrama (c. 1340–1425), a pioneer of infinite series. The series itself is standard physics (Widger & Woodall 1976), not a new result. Like Madhava, who did not simply cut his series for π but added a correction term for the part left out, the engine adds the rest of the series in closed form after N terms. The ratio of consecutive terms grows but stays below e^(−x), which traps the remainder between two limits; the engine adds their midpoint and reports half their width as a guaranteed bound on the series error. With the same number of terms the error is 7 to 274 times smaller than cutting the series (scripts/madhava_correction_check.py; at least 5 times in the automated test), and the app shows the bound under each temperature (for example, below 10⁻¹² for TRAPPIST-1).

Who it helps

  • Citizen scientists. Volunteers already find nearby brown dwarfs by blinking WISE images (Backyard Worlds: Planet 9). Cold Movers gives them the same view of SPHEREx, a new and deeper dataset in 102 colours, from any phone or computer, with no installation or account.
  • Students and teachers. One page shows a star moving across the sky over a single year, its light split into colours, the blackbody-equivalent temperature that light implies and how sure we can be. It turns a NASA archive into a lesson about motion, light and doubt.
  • Astronomers. A quick first look at any position: is the source there in every visit, does it move as the catalogue says, is a neighbour or a detector artifact contaminating it, and which wavelengths can be trusted. Every number can be downloaded and traced back to its SPHEREx image.

What we hope to achieve

  • Make SPHEREx data easy to explore for anyone: the app queries the configured SPHEREx collections live and retrieves whatever observations they hold today; adding a future release is a one-line change.
  • Show that a tool can be honest about its limits: when SPHEREx saturates, when a neighbour blends in, when one blackbody does not describe the light, the app says so instead of inventing a number.
  • Next steps after the hackathon: make the detector-alignment check work in sparse long-wavelength fields (the one failed check of our scoreboard), point-spread-function photometry for crowded fields, a batch mode that checks a whole list of candidates, combining all six detectors in the catalogue-free motion fit to reach fainter movers, and a Spanish version of the interface.

Tools we used

  • Language: Python 3.12.
  • Libraries: Astropy (WCS, FITS, time), Astroquery and PyVO (IRSA, Gaia and SIMBAD access), NumPy and SciPy (fits, resampling), Matplotlib and Pillow (movie frames, GIF), Plotly (interactive spectrum and light curve), Streamlit (web app).
  • Data: SPHEREx DR1 and QR3 spectral images (NASA/IPAC IRSA), Gaia DR3 (ESA), SIMBAD and Sesame (CDS).
  • Infrastructure: GitHub (code), GitHub Actions (tests, precomputing the five challenge objects, keeping the app awake), Streamlit Community Cloud (public hosting).
  • Hardware: none beyond an ordinary laptop; all heavy work runs in the cloud.

Honest limits

  • Blackbody-equivalent is not effective temperature. Brown dwarfs have deep water and methane bands; a single Planck curve does not describe them, and the traffic light turns yellow. We show the published temperature next to ours.
  • Very bright stars saturate SPHEREx. Barnard's Star overflows the detector in every image: its motion is visible in the movie, but its brightness cannot be measured, and the app says so.
  • Aperture photometry, not PSF fitting. A constant aperture loss does not change the temperature (free scale), but crowded fields can blend neighbours.
  • Variable objects (R Draconis, RW Aurigae) change between visits; one fit over all visits mixes epochs.
  • Parallax is not modelled; the baseline is about a year. The motion fit is a straight line over 3–6 visits about six months apart. At these objects' own visit dates, parallax biases the fitted motion by at most 0.19″/yr (Epsilon Indi B; docs/parallax_effect.md), below their uncertainties. Motions slower than a few arcseconds per year are rarely confirmed with one year of visits (2″/yr: 2 % of injections in the development set).
  • Some uncertainties are too small (pre-registered calibration, CALIBRATION.md). Injected movers show that the blind search's quoted speed uncertainty is too small: read it as at least 1.7 times larger, with heavier tails (follow-up, exploratory). On 71 real still stars, most positions scatter less than the error model says, but 2 reach a single-detector significance of 5; confirmation needs two detectors for that reason. The temperature interval is quantized to a 0.35 % grid: it covered the true value in only 22 % of precise synthetic fits, and for the real objects it is 9 % (TRAPPIST-1) and 7 % (Epsilon Indi B) too narrow. Best-fit temperatures are not biased. As pre-registered, nothing displayed was changed because of these tests.
  • The search does not find every moving object. At S/N 15 about 40 % of injected movers are confirmed (62 % at quiet spots, 29 % next to stars); very red movers seen by only two detectors, far fewer; at S/N 5 almost none.

Run locally

pip install -r requirements.txt
streamlit run app.py

The five challenge objects are precomputed by GitHub Actions (.github/workflows/precompute.yml, scripts/precompute.py) so the public demo loads instantly; any other position is processed live.

Tests

pip install pytest
python -m pytest -q

Tests check the series against numerical integration of Planck's law (to 1e-8), the classic 25 % of energy below the Wien peak, recovery of known temperatures from synthetic spectra, the traffic light, aperture photometry, proper-motion propagation, the "Is it real?" checks, brightness changes and the catalogue-free mover search.

Data and references

The complete inventory of data, references, software, services and their licences and required acknowledgements is in DATA_AND_RESOURCES.md. Summary:

  • SPHEREx Data Release 1 spectral images, NASA/IPAC Infrared Science Archive, doi:10.26131/IRSA678; SPHEREx Quick Release 3.
  • The SPHEREx image and spectrophotometry processing pipeline, ApJS 285, 67 (2026), doi:10.3847/1538-4365/ae8843, arXiv:2511.15823.
  • IRSA tutorials (BSD-3): "Introduction to SPHEREx Spectral Images", "Download a collection of SPHEREx Spectral Image cutouts".
  • Widger, W. K. & Woodall, M. P. 1976, Integration of the Planck blackbody radiation function, Bull. Amer. Meteor. Soc. 57, 1217.
  • SIMBAD astronomical database and Sesame name resolver (CDS, Strasbourg) for positions, proper motions and parallaxes; Gaia DR3 (Gaia Collaboration, Vallenari et al. 2023, A&A 674, A1) from the ESA Gaia archive and through SIMBAD.
  • Published temperatures for comparison: Agol et al. 2021 (TRAPPIST-1, 2,566 ± 26 K, Planet. Sci. J. 2, 1, arXiv:2010.01074, via the NASA Exoplanet Archive); Jahandar et al. 2024 (Barnard's Star, arXiv:2310.12125); King et al. 2010 (ε Indi Ba/Bb, arXiv:0911.3143); Luhman et al. 2024 (WISE 0855−0714, arXiv:2311.17316); Rodriguez et al. 2013 (RW Aur disk, arXiv:1308.2017).
  • Inspiration for the movie view: WiseView (Caselden et al. 2018), used by the Backyard Worlds: Planet 9 citizen-science project.
  • Software: Astropy, Astroquery, PyVO, NumPy, SciPy, Matplotlib, Pillow, Plotly, Streamlit.

This publication makes use of data products from the Spectro-Photometer for the History of the Universe, Epoch of Reionization and Ices Explorer (SPHEREx), which is a joint project of the Jet Propulsion Laboratory and the California Institute of Technology, and is funded by the National Aeronautics and Space Administration.

Not an official NASA product.

AI use

We used Claude (Anthropic), an AI coding assistant, to accelerate coding and documentation. The team (Wilmer Espinoza, Miguel Eduardo Romero Sánchez) chose the challenge, the idea and the scientific approach: a modern blink comparator for SPHEREx; the Madhava engine, which fits temperatures with an exact series for the blackbody light in each band and adds Madhava's correction term with a guaranteed error bound; and an honest traffic light that says when a result cannot be trusted. We decided every feature and which objects to test, and we reviewed the code.

All AI-generated code was reviewed and tested by the team and refined from our feedback before it went into the app. We checked every result against published temperatures and catalogue motions, and independent reviewers reported bugs that we fixed. Automated tests and a full headless run of the app check every change. Commits made with the assistant carry a Co-Authored-By: Claude line. Our team logo (docs/logo_ai_marked.png) was generated with Gemini (Google) and carries a visible "AI-generated image (Gemini)" mark; every other image in the app, this README and our video is real SPHEREx data processed by our code or a capture of the live app. No NASA branding is used.

License

MIT, see LICENSE.

About

Blink comparator for NASA's SPHEREx: finds what moves with no catalogue, confirms it across detectors, measures blackbody-equivalent temperatures (Madhava engine) and says when the data cannot support a conclusion. Pre-registered held-out tests. NASA Space Apps 2026, Planet X and SPHEREx.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages