Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Topic files, short names used below: [scope-process](decisions/scope-process.md)

| Task | Decision topic files | Spec fragments (sections) |
|---|---|---|
| A survey or ephemeris adapter (IRSA SPHEREx, Gaia, WISE, Horizons, SkyBoT) | data-sources (D-15, D-19, D-25, Q-20, Q-31), moving-objects (Q-138), moving-frames (Q-21, Q-126), catalogue-values (Q-151 Horizons comets, Q-152 Gaia astrophysical parameters), physics-fixes (Q-378 Gaia FLAME precision and cache key) | [data-sources.md](architecture/data-sources.md) (A3–A3.5), [pipeline.md](architecture/pipeline.md) (A4.1) |
| A survey or ephemeris adapter (IRSA SPHEREx, Gaia, WISE, Horizons, SkyBoT) | data-sources (D-15, D-19, D-25, Q-20, Q-31), moving-objects (Q-138), moving-frames (Q-21, Q-126), catalogue-values (Q-151 Horizons comets, Q-152 Gaia astrophysical parameters), physics-fixes (Q-378 Gaia FLAME precision and cache key) | [data-sources.md](architecture/data-sources.md) (A3–A3.5), [irsa-catalogues.md](architecture/irsa-catalogues.md) (A3.3.1), [pipeline.md](architecture/pipeline.md) (A4.1) |
| An object-view source (SBDB, DAMIT, Exoplanet Archive, SIMBAD, shape models, the literature registry) | data-sources (D-19, Q-328 reference objects), pipeline-jobs (Q-44, Q-61), pipeline-stages (Q-62, Q-63), rendering-bodies (D-33), exoplanets (Q-150, Q-168), catalogue-values (Q-151 to Q-153, Q-336, Q-364 #93 literature rows, Q-366 cache keys), contract (Q-363), physics-fixes (Q-376 eccentricity limits, Q-377 phase-curve rows, Q-378 FLAME precision and cache keys), demo-pack (Q-162, Q-163) | [object-sources.md](architecture/object-sources.md) (A3.6–A3.10, A3.13), [pipeline-card.md](architecture/pipeline-card.md) (A4.3, A4.5), [type-selection.md](rendering/type-selection.md) (R3.3) |
| Test and demo targets (`targets.toml` groups, 433 Eros, saturation) | data-sources (D-31, Q-26), scope-process (Q-137), demo-pack (Q-161) | [targets.md](architecture/targets.md) (A3.12), [jobs.md](architecture/jobs.md) (A4.10, warm start) |
| Endpoints: add, change or call any route; error envelope, codes, `X-SX-*` headers | contract (D-16, Q-39), plus the topic file of the route's decision (listed in A4.11) | [endpoints.md](architecture/endpoints.md) (A4.11) first, then the fragment its row links; [data-contract.md](rendering/data-contract.md) (R3.2, R3.4); [backend/README.md](../backend/README.md#endpoints-d-16) for shapes and defaults |
Expand Down
2 changes: 2 additions & 0 deletions docs/architecture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Load only the fragment you need. Section numbers are prefixed with `A` ("archite
|---|---|---|
| [overview.md](overview.md) | A1–A2.1 | you need the scope (sky view, flipbook, Build it, Track, Area search), priority tiers and their status, the system diagram or the design principles |
| [data-sources.md](data-sources.md) | A3–A3.5 | you call or adapt SPHEREx/IRSA, Gaia, WISE, Horizons or SkyBoT |
| [irsa-catalogues.md](irsa-catalogues.md) | A3.3.1 | you need the IRSA table or column names for CatWISE2020, AllWISE or 2MASS |
| [object-sources.md](object-sources.md) | A3.6–A3.11, A3.13 | you call or adapt SBDB, DAMIT, the Exoplanet Archive, SIMBAD, mission shape models, the IRSA HiPS sky background or the literature registry |
| [targets.md](targets.md) | A3.12 | you pick or change test, demo or fixture targets (433 Eros is the MVP, Q-137), or the warm-start groups |
| [pipeline.md](pipeline.md) | A4–A4.2 | you build stage 1 (find the object, frames, moving objects) or stage 2 (brightness and spectrum) |
Expand Down Expand Up @@ -70,6 +71,7 @@ Load only the fragment you need. Section numbers are prefixed with `A` ("archite
| A3.1 | SPHEREx (IRSA) | [data-sources.md#a31-spherex-irsa](data-sources.md#a31-spherex-irsa) |
| A3.2 | Gaia DR3 | [data-sources.md#a32-gaia-dr3](data-sources.md#a32-gaia-dr3) |
| A3.3 | WISE / NEOWISE | [data-sources.md#a33-wise--neowise](data-sources.md#a33-wise--neowise) |
| A3.3.1 | IRSA tables and columns: CatWISE2020, AllWISE and 2MASS | [irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass) |
| A3.4 | JPL Horizons | [data-sources.md#a34-jpl-horizons](data-sources.md#a34-jpl-horizons) |
| A3.5 | IMCCE SkyBoT | [data-sources.md#a35-imcce-skybot](data-sources.md#a35-imcce-skybot) |
| A3.6 | JPL Small-Body Database | [object-sources.md#a36-jpl-small-body-database](object-sources.md#a36-jpl-small-body-database) |
Expand Down
5 changes: 4 additions & 1 deletion docs/architecture/data-sources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Data sources

> **Part of:** Architecture spec ([index](README.md)) · **Sections:** A3–A3.5 · **Implements:** [D-19, D-25, D-31](../decisions/data-sources.md), [Q-137](../decisions/scope-process.md), [Q-138, Q-141, Q-148](../decisions/moving-objects.md), [Q-21, Q-125, Q-126](../decisions/moving-frames.md), [Q-151, Q-152](../decisions/catalogue-values.md), [Q-378](../decisions/physics-fixes.md) · **Read with:** [object-sources.md](object-sources.md) (A3.6–A3.11, A3.13), [targets.md](targets.md) (A3.12), [pipeline.md](pipeline.md) (A4.1, A4.2)
> **Part of:** Architecture spec ([index](README.md)) · **Sections:** A3–A3.5 · **Implements:** [D-19, D-25, D-31](../decisions/data-sources.md), [Q-137](../decisions/scope-process.md), [Q-138, Q-141, Q-148](../decisions/moving-objects.md), [Q-21, Q-125, Q-126](../decisions/moving-frames.md), [Q-151, Q-152](../decisions/catalogue-values.md), [Q-378](../decisions/physics-fixes.md) · **Read with:** [object-sources.md](object-sources.md) (A3.6–A3.11, A3.13), [targets.md](targets.md) (A3.12), [irsa-catalogues.md](irsa-catalogues.md) (A3.3.1), [pipeline.md](pipeline.md) (A4.1, A4.2)

## A3 Data sources

Expand All @@ -9,6 +9,7 @@ Only the attributes listed are fetched. All checks below were run on 4 Nov 2026
| Sections | Sources | File |
|---|---|---|
| A3.1 to A3.5 | SPHEREx, Gaia, WISE, Horizons, SkyBoT (frames and positions) | this file |
| A3.3.1 | IRSA table and column names for CatWISE2020, AllWISE, 2MASS | [irsa-catalogues.md](irsa-catalogues.md) |
| A3.6 to A3.11 | SBDB, DAMIT, Exoplanet Archive, unused services, SIMBAD and shape models, sky background | [object-sources.md](object-sources.md) |
| A3.12 | Test and demo targets, full-cache counts | [targets.md](targets.md) |
| A3.13 | Literature registry (`literature.toml`) | [object-sources.md](object-sources.md#a313-literature-registry-literaturetoml) |
Expand Down Expand Up @@ -71,6 +72,8 @@ Only the attributes listed are fetched. All checks below were run on 4 Nov 2026
| Use | Diameter and albedo. Take these through the JPL Small-Body Database for now. |
| Source catalogue (overlays, issue #12) | "WISE/NEOWISE sources" are served from **CatWISE2020** (`catwise_2020` on IRSA TAP, sync, CSV), which combines WISE and NEOWISE epochs (Q-51). Checked live 6 Nov 2026 (`TAP_SCHEMA.columns`): `ra_pm`/`dec_pm` are positions at MJD 57170 from the PSF fit with motion; `pmra`/`pmdec` are apparent motions in arcsec/yr (relative, not absolute, noisy for faint sources); `w1mpro_pm` is the W1 profile-fit magnitude. A 0.03° cone answered in about 17 s. Columns: `source_name, ra_pm, dec_pm, pmra, pmdec, w1mpro_pm`; the cone is applied to `ra`/`dec`, brightest W1 first, at most 5000 rows (`overlay:wise:truncated`); a row without `ra_pm`/`dec_pm` is dropped. Whether `pmra` includes cos δ is **[verify]**. **CatWISE2020 has no rows within at least 3′ of R Draconis** (checked live 6 Nov 2026: a box and a cone both return 0, while AllWISE returns sources there), so that target shows no WISE markers (Q-51). AllWISE and the NEOWISE single-exposure table are not used. Used by [A4.9](overlays.md#a49-overlays-flag-mask-and-combine). |

**IRSA tables and columns (checked 25–26 Nov 2026, #192):** the table and column names, units and ADQL for CatWISE2020, AllWISE and 2MASS are in [A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass).

### A3.4 JPL Horizons

| Item | Detail |
Expand Down
13 changes: 7 additions & 6 deletions docs/architecture/discovery-hunts.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ Sources this spec adds to [A3](data-sources.md) (to move there when the spec is
| **ATLAS** | Forced photometry at a position. | ATLAS forced-photometry server | H7 (history) | **[verify]** access terms |
| **TESS** | Light curves: SPOC 2-minute and 20-second, TESS-SPOC and QLP (from full-frame images), TGLC (crowded fields). Pixel cutouts (TESScut) for candidates. TESS Input Catalog v8.2. Pixel 21″. | MAST (astroquery, lightkurve); AWS open-data copy | H3; confirmation for H1 | Product names Documented at MAST; per-patch size **[verify by a real query]** |
| **Kepler / K2** | Long light curves where the patch overlaps. | MAST | H3 | Documented |
| **WISE / NEOWISE** | CatWISE2020 (1.89 billion sources; W1 and W2; motions from 2010 to 2018). AllWISE (W1 to W4, 3.4, 4.6, 12 and 22 µm; W4 beam about 12″). unTimely catalogue and time-resolved unWISE coadds (about 16 epochs per band, to 2020). | IRSA TAP (table names **[verify]**: `catwise_2020`, `allwise_p3as_psd`); unWISE cutout service (unwise.me) | H2, H9; masks for H4 | Documented ([Marocco et al. 2021](https://arxiv.org/abs/2012.13084), [Meisner et al. 2023](https://arxiv.org/abs/2209.14327)) |
| **2MASS** | Point Source Catalog (J, H, Ks; 1998 to 2001). | IRSA TAP (`fp_psc` **[verify]**) | H2 (long baseline), H9 | Documented |
| **WISE / NEOWISE** | CatWISE2020 (1.89 billion sources; W1 and W2; motions from 2010 to 2018). AllWISE (W1 to W4, 3.4, 4.6, 12 and 22 µm; W4 beam about 12″). unTimely catalogue and time-resolved unWISE coadds (about 16 epochs per band, to 2020). | IRSA TAP (tables `catwise_2020` and `allwise_p3as_psd`, checked 25 Nov 2026: [A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass)); unWISE cutout service (unwise.me) | H2, H9; masks for H4 | Documented ([Marocco et al. 2021](https://arxiv.org/abs/2012.13084), [Meisner et al. 2023](https://arxiv.org/abs/2209.14327)) |
| **2MASS** | Point Source Catalog (J, H, Ks; 1998 to 2001). | IRSA TAP (table `fp_psc`, checked 25 Nov 2026: [A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass)) | H2 (long baseline), H9 | Documented |
| **Gaia DR3** | `gaia_source` (positions, motions, parallaxes, RUWE, radial velocity for brighter stars), variability tables (10.5 million variables), `nss_two_body_orbit`, Bailer-Jones distances (`external.gaiaedr3_distance`). | ESA Gaia archive, TAP/ADQL (adapter exists) | H8, H10 (testing); masks, neighbours and matches for all | Documented |
| **Gaia DR4** | 66 months of data. `epoch_astrometry` (about 130 billion rows, 62 TB in all), `nss_two_body_orbit` (about 5.9 million rows), radial-velocity tables. | ESA Gaia archive: orbit tables by TAP (`nss_two_body_orbit` about 2.7 GB in all); epoch astrometry by **DataLink** per source; DPAC's `bh_two_body_orbit` | H10 | Due **2 Dec 2026, about 12:00 CET** ([ESA](https://www.cosmos.esa.int/web/gaia/data-release-4)) |
| **Legacy Surveys DR10** | Catalogues. | NOIRLab Astro Data Lab | visible-light check for H2 | **[verify]** |
Expand Down Expand Up @@ -535,7 +535,7 @@ How to read them:
- **Most accurate** is the best published method. **At home** is what we run on a gaming PC and what that costs in accuracy.
- **Starting values** are first settings, all **Proposed**. They are tuned on the injection tests and controls ([A22.10](#a2210-calibration-and-proof)) and fixed per hunt version. None is a measured result.
- **Published accuracy** is from the cited paper, not from our code. Ours is measured before a hunt returns candidates.
- Catalogue column names and table names are as remembered from the archives' documentation and are all **[verify]** against the live schema in the ticket that builds the adapter (the rule against inventing fields).
- The CatWISE2020, AllWISE and 2MASS names recorded in [A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass) were checked against the live schema (V6). The other catalogue column names and table names are as remembered from the archives' documentation and are **[verify]** against the live schema in the ticket that builds the adapter (the rule against inventing fields).

#### A22.9.1 H1 Variable and eclipsing stars

Expand Down Expand Up @@ -664,7 +664,7 @@ flowchart LR

**At home.** CatWISE averages about 46,000 sources per square degree (about 4 million rows for 86 deg² without cuts); with the cuts in the query, a few MB; images are fetched for tens of survivors; the network is small enough for a CPU.

**Open.** unWISE epoch range and cutout access; the template library's licence; the SPHEREx depth for a moving point source; table and column names.
**Open.** unWISE epoch range and cutout access; the template library's licence; the SPHEREx depth for a moving point source; table and column names for VHS and UKIDSS. **Resolved (V6, checked 25–26 Nov 2026):** the CatWISE2020 and 2MASS names ([A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass)).

#### A22.9.3 H3 Single transits and strange dimmers (release 2)

Expand Down Expand Up @@ -907,6 +907,8 @@ Removed by R-7. Euclid DR1 (12 Nov 2026) shipped 15,072 high-confidence candidat

**Selection (Disk Detective's real cuts, [Kuchner et al. 2016](https://arxiv.org/abs/1607.05713)).** `w4snr` ≥ 10; W4 < W1 − 0.25 with the W1 − W4 excess significant at **5σ**; `w4rchi2` < 1.3; `w4nm` > 5; `na` = 0; `nb` = 1; exactly one 2MASS match within 3″; `cc_flags` clean in W1 and W4. RUWE below 1.4. All in the archive's query (R-6).

**2MASS match radius [verify].** The column description of AllWISE `n_2mass` does not state its search radius ([A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass)): the H9 ticket checks it before using it for "exactly one 2MASS match within 3″".

**What we study.** Brightness by wavelength: the photosphere fitted to Gaia, 2MASS and SPHEREx below about 3 µm; the WISE excess at 12 and 22 µm; whether SPHEREx shows hot dust from 3 to 5 µm; whether the 3.3 µm feature of a galaxy is present. The 22 µm beam is about 12″ wide, so anything inside it can fake an excess.

**Processing.**
Expand Down Expand Up @@ -1221,7 +1223,7 @@ The first draft's research (17 Nov 2026) was at the level of search results and
| V3 | SPHEREx release facts | Resolved (checked 24 Nov 2026); see [A3.1](data-sources.md#a31-spherex-irsa) |
| V4 | ZTF sizes and limits | Partly resolved: DR24 on 22 Jan 2026, HATS copy on 26 May 2026; API cones at most 10′, HATS above about 1,000 light curves. Patch sizes to measure. |
| V5 | TESS per-patch sizes; FFI cadence for H11 | Open: real MAST calls |
| V6 | IRSA table and column names for CatWISE2020, AllWISE, 2MASS | Open (Disk Detective's flag names are now cited) |
| V6 | IRSA table and column names for CatWISE2020, AllWISE, 2MASS | Resolved (checked 25–26 Nov 2026); see [A3.3.1](irsa-catalogues.md#a331-irsa-tables-and-columns-catwise2020-allwise-and-2mass) |
| V7 | unWISE epoch coverage and cutout access | Open |
| V8 | Gaia DR4 access | Partly resolved: orbit tables by TAP (2.7 GB); epoch astrometry by DataLink; `bh_two_body_orbit` ships. Release-day check open. |
| V9 | Euclid DR1 | Resolved and moot (H6 removed) |
Expand Down Expand Up @@ -1271,7 +1273,6 @@ The first draft's research (17 Nov 2026) was at the level of search results and
| V13 (MPC) | HN-11's ADES export and the MPC route in HN-16 |
| V26 and the R-12 licences (Chen 2020, SPIFF, templates, network weights, the AAS template, orbit fitters) | any ticket that ships them |
| V1 (single-frame depth) | HN-5's gate threshold |
| V6 (IRSA tables and columns) | every adapter ticket |
| V2 (revisit pattern) | HN-12 |
| V31 (H11 rate grid) | scheduling HN-15 |
| V33 (linking criteria) | HN-12 |
Expand Down
Loading
Loading