diplo 0.1.0rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diplo-0.1.0rc1/.gitignore +5 -0
- diplo-0.1.0rc1/LICENSE +21 -0
- diplo-0.1.0rc1/PKG-INFO +81 -0
- diplo-0.1.0rc1/calibration/REGISTRY.csv +31 -0
- diplo-0.1.0rc1/calibration/circumbinary_gates_v1.yaml +34 -0
- diplo-0.1.0rc1/calibration/crumbling_gates_v1.yaml +15 -0
- diplo-0.1.0rc1/calibration/deep_tests_v1.yaml +27 -0
- diplo-0.1.0rc1/calibration/deep_tests_v2.yaml +33 -0
- diplo-0.1.0rc1/calibration/deep_tests_v3.yaml +63 -0
- diplo-0.1.0rc1/calibration/deep_tests_v4.yaml +82 -0
- diplo-0.1.0rc1/calibration/deep_tests_v5.yaml +84 -0
- diplo-0.1.0rc1/calibration/deep_tests_v6.yaml +88 -0
- diplo-0.1.0rc1/calibration/exocomet_gates_v1.yaml +23 -0
- diplo-0.1.0rc1/calibration/followup_v1.yaml +18 -0
- diplo-0.1.0rc1/calibration/gaia_flags_v1.yaml +50 -0
- diplo-0.1.0rc1/calibration/giant_gates_v1.yaml +30 -0
- diplo-0.1.0rc1/calibration/kepler_v1.yaml +31 -0
- diplo-0.1.0rc1/calibration/kepler_v2.yaml +41 -0
- diplo-0.1.0rc1/calibration/lamost_v1.yaml +28 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v1.yaml +25 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v2.yaml +29 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v3.yaml +33 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v4.yaml +35 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v5.yaml +37 -0
- diplo-0.1.0rc1/calibration/periodic_gates_v6.yaml +43 -0
- diplo-0.1.0rc1/calibration/pma_v1.yaml +18 -0
- diplo-0.1.0rc1/calibration/prereg_null_v1.yaml +28 -0
- diplo-0.1.0rc1/calibration/sdb_gates_v1.yaml +13 -0
- diplo-0.1.0rc1/calibration/single_transit_gates_v1.yaml +25 -0
- diplo-0.1.0rc1/calibration/single_transit_gates_v2.yaml +38 -0
- diplo-0.1.0rc1/calibration/star_params_v1.yaml +26 -0
- diplo-0.1.0rc1/calibration/ttv_gates_v1.yaml +24 -0
- diplo-0.1.0rc1/calibration/vetting_gates_v1.yaml +25 -0
- diplo-0.1.0rc1/calibration/wd_gates_v1.yaml +13 -0
- diplo-0.1.0rc1/docs/STANDALONE.md +50 -0
- diplo-0.1.0rc1/pyproject.toml +55 -0
- diplo-0.1.0rc1/tools/gates.py +186 -0
- diplo-0.1.0rc1/tools/lccache.py +1571 -0
- diplo-0.1.0rc1/tools/transit/__init__.py +28 -0
- diplo-0.1.0rc1/tools/transit/aperture.py +323 -0
- diplo-0.1.0rc1/tools/transit/asteroid.py +65 -0
- diplo-0.1.0rc1/tools/transit/circumbinary.py +590 -0
- diplo-0.1.0rc1/tools/transit/cli.py +414 -0
- diplo-0.1.0rc1/tools/transit/data.py +106 -0
- diplo-0.1.0rc1/tools/transit/fit.py +167 -0
- diplo-0.1.0rc1/tools/transit/fix_pytransit.py +58 -0
- diplo-0.1.0rc1/tools/transit/followup.py +103 -0
- diplo-0.1.0rc1/tools/transit/gaia_checks.py +222 -0
- diplo-0.1.0rc1/tools/transit/holdout.py +103 -0
- diplo-0.1.0rc1/tools/transit/inject.py +71 -0
- diplo-0.1.0rc1/tools/transit/kepler.py +174 -0
- diplo-0.1.0rc1/tools/transit/known.py +300 -0
- diplo-0.1.0rc1/tools/transit/lamost.py +119 -0
- diplo-0.1.0rc1/tools/transit/outcome.py +117 -0
- diplo-0.1.0rc1/tools/transit/paths.py +32 -0
- diplo-0.1.0rc1/tools/transit/periodic.py +405 -0
- diplo-0.1.0rc1/tools/transit/pipeline.py +463 -0
- diplo-0.1.0rc1/tools/transit/pixels.py +303 -0
- diplo-0.1.0rc1/tools/transit/pma.py +64 -0
- diplo-0.1.0rc1/tools/transit/prereg.py +95 -0
- diplo-0.1.0rc1/tools/transit/record.py +104 -0
- diplo-0.1.0rc1/tools/transit/report.py +185 -0
- diplo-0.1.0rc1/tools/transit/sgates.py +80 -0
- diplo-0.1.0rc1/tools/transit/single.py +202 -0
- diplo-0.1.0rc1/tools/transit/star.py +121 -0
- diplo-0.1.0rc1/tools/transit/star_params.py +101 -0
- diplo-0.1.0rc1/tools/transit/vet.py +175 -0
- diplo-0.1.0rc1/tools/transit/vetters.py +167 -0
- diplo-0.1.0rc1/tools/vetting_gates.py +109 -0
diplo-0.1.0rc1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Derek Gathright
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
diplo-0.1.0rc1/PKG-INFO
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: diplo
|
|
3
|
+
Version: 0.1.0rc1
|
|
4
|
+
Summary: Transit vetting toolkit from the Transit Trials project: search a TESS star for repeating dips and run the vetting tests
|
|
5
|
+
Project-URL: Homepage, https://github.com/derek/diplo
|
|
6
|
+
Project-URL: Project, https://derek.io/transit-trials/
|
|
7
|
+
Project-URL: Source, https://github.com/derek/transit-trials
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Requires-Dist: astropy
|
|
12
|
+
Requires-Dist: astroquery
|
|
13
|
+
Requires-Dist: batman-package
|
|
14
|
+
Requires-Dist: emcee
|
|
15
|
+
Requires-Dist: matplotlib
|
|
16
|
+
Requires-Dist: numba
|
|
17
|
+
Requires-Dist: numpy
|
|
18
|
+
Requires-Dist: pandas
|
|
19
|
+
Requires-Dist: pyarrow
|
|
20
|
+
Requires-Dist: pyyaml
|
|
21
|
+
Requires-Dist: requests
|
|
22
|
+
Requires-Dist: scipy
|
|
23
|
+
Requires-Dist: setuptools<81
|
|
24
|
+
Requires-Dist: triceratops
|
|
25
|
+
Requires-Dist: wotan
|
|
26
|
+
Provides-Extra: leo
|
|
27
|
+
Requires-Dist: leo-vetter; extra == 'leo'
|
|
28
|
+
Provides-Extra: test
|
|
29
|
+
Requires-Dist: pytest; extra == 'test'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# DIPLO: the Transit Trials toolkit as a stand-alone download
|
|
33
|
+
|
|
34
|
+
**DIPLO** (**D**ip **I**nvestigation **P**ipeline for **L**ight-curve **O**bservations, after Diplodocus) is the
|
|
35
|
+
transit-vetting toolkit of [Transit Trials](https://derek.io/transit-trials/) (`tools/transit`,
|
|
36
|
+
[TOOLKIT.md](https://github.com/derek/transit-trials/blob/main/docs/TOOLKIT.md)) packaged so that anyone can
|
|
37
|
+
install it and run it on their own computer. Its home is [github.com/derek/diplo](https://github.com/derek/diplo).
|
|
38
|
+
**0.1.0rc1 is a release candidate (29 Nov 2026): try it, but expect changes.**
|
|
39
|
+
|
|
40
|
+
| Step | What | State |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| 1 | Installable package; frozen cutoff files shipped inside it; version stamp without git | done |
|
|
43
|
+
| 2 | One command, `diplo`: give it a TIC (and optionally a period), get a folder with an automatic tier, a test table, a TRICERATOPS score, plots, `case.yaml` and a plain report | done |
|
|
44
|
+
| 3 | Slow real-star scorecard for steps 1 and 2 | under review |
|
|
45
|
+
| 4 | Downloads kept in a folder on the user's own computer (first version in 0.1.0rc1); one copy of the data-cache code; the project's verdicts table optional | next |
|
|
46
|
+
| 5 | Guide for newcomers, a worked example with its expected answer, a fresh-install test | planned |
|
|
47
|
+
|
|
48
|
+
## Install
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install diplo==0.1.0rc1 # or the latest code: pip install "git+https://github.com/derek/transit-trials"
|
|
52
|
+
diplo-setup # once: makes TRICERATOPS's pytransit import under numpy 2
|
|
53
|
+
diplo TIC 38699429 # search a star, test its strongest signal, write diplo-TIC38699429/
|
|
54
|
+
diplo TIC 278139343 --period 6.2016 --quick # test a known signal; --quick skips TRICERATOPS
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
The install brings in standard science libraries (numpy, scipy, astropy, numba, batman, TRICERATOPS and
|
|
58
|
+
others), about 1 GB in a fresh environment. TRICERATOPS asks for an old version of one of its parts
|
|
59
|
+
(pytransit 2.2) that no longer imports with numpy 2; `diplo-setup` edits that installed part so it does,
|
|
60
|
+
the same fix the project's own runs use. Without it the false-positive test is *not measured*.
|
|
61
|
+
`pip install "diplo[leo]==0.1.0rc1"` adds LEO-Vetter; without it that test is reported as *not measured*.
|
|
62
|
+
Downloads are kept in `~/.cache/diplo` and `~/.cache/lccache` (set `LCCACHE_ROOT` and `LCCACHE_BULK` to move them).
|
|
63
|
+
|
|
64
|
+
Known limits: it reads NASA's SPOC and TESS-SPOC light curves only (a star with only QLP light curves comes
|
|
65
|
+
out "not found"), and the automatic tier can sit below a hand-checked tier.
|
|
66
|
+
|
|
67
|
+
## What is in the package
|
|
68
|
+
|
|
69
|
+
- `transit`: the search, the vetting tests and the report writer, exactly as the project runs them.
|
|
70
|
+
- `gates`, `vetting_gates`, `lccache`: the cheap gates and the data cache the toolkit uses.
|
|
71
|
+
- `transit/_calibration`: a copy of the frozen cutoff files in `calibration/`, unchanged
|
|
72
|
+
(`transit.paths.CAL_DIR`). The environment variable `DIPLO_CALIBRATION` can point to another folder.
|
|
73
|
+
|
|
74
|
+
Not in it: cases, the website, the project's verdicts table, scheduled searches or anything in the project
|
|
75
|
+
folder. Nothing is sent anywhere: results stay on the user's computer.
|
|
76
|
+
|
|
77
|
+
## Rules that still apply
|
|
78
|
+
|
|
79
|
+
Results are candidates, never planets, and nothing is called "validated". An outage, missing value or
|
|
80
|
+
empty input is *not measured*, never a pass. The tier words are those of the project's
|
|
81
|
+
[tier ladder](https://github.com/derek/transit-trials/blob/main/docs/PROCESS_GUIDE.md#tier-ladder-27-nov-2026).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
file,sha256,registered_utc,note
|
|
2
|
+
calibration/periodic_gates_v1.yaml,7159b5d30fa59dacde4b9644ec4362350f1ce4c12e5576df23f4c0ccd9b22823,2026-11-26T03:37:06Z,Run 2 gates exactly as used (gatelib.py); superseded by v2
|
|
3
|
+
calibration/periodic_gates_v2.yaml,451807dcbf7596adf220e25ecea28422e0ad389bcd400061916b841acb7fd3f3,2026-11-26T03:37:06Z,"Run 1-3 + paper lessons: n/m<=10 harmonics, SDE>26, consistency gate, scatter odd/even errors"
|
|
4
|
+
calibration/single_transit_gates_v1.yaml,23207214dc51669ddd10b4da47faf4a528749608431deb8cfdffd477c05c102c,2026-11-26T03:37:06Z,Single-transit run gates K/C/P/A1/SES as used 2026-11-26
|
|
5
|
+
calibration/periodic_gates_v3.yaml,03904353daae000669e9207bb5d6481b964b56a315fb819a6a0e4e42ba32bec9,2026-11-26T05:00:43Z,"Run 3 K dwarfs: dip/bump ratio statistic, cutoff 37.2 from inverted null"
|
|
6
|
+
calibration/wd_gates_v1.yaml,a40e4e30c8f0aac49ac6324e7b1516132df4f766b18be83eea10120e59f80bed,2026-11-26T05:19:45Z,"White-dwarf search 2026-11-26: W0-W2 gates, SDE 106.52 and SES 312 from upside-down null"
|
|
7
|
+
calibration/vetting_gates_v1.yaml,92370cce6433580dcc7dc694ef5673d855ab4a3a610cbb0e8ef15901f3fb7e59,2026-11-26T07:13:49Z,"Gaia vetting gates validated on settled TOIs 2026-11-26 (searches/vetting-tests-2026-11-26): EB-neighbour match, RV epoch scatter 8.4157 km/s (dev cut), Katz RV cut informational"
|
|
8
|
+
calibration/ttv_gates_v1.yaml,4c7c7b018bc6f77cadc7b6d286ee031231ec38dedd8b372cd73102087a43a32f,2026-11-26T07:22:34Z,"TTV search 2026-11-26: delta-chi2 cutoffs 430.2 (sinusoid) and 119.4 (quadratic) = maxima of 1,634 own-light-curve fake transits; 5x own-noise amplitude rule"
|
|
9
|
+
calibration/deep_tests_v1.yaml,1f98755203b40b773a5bf3774774a601b59a6ee8bc0ea4c3203ce6ae0b0d47a0,2026-11-26T05:32:58Z,"Shared toolkit deep tests: pixel host fit with whole-scene registration, density 3 sigma, three-way shape test, TRICERATOPS validates below 1.5%"
|
|
10
|
+
calibration/single_transit_gates_v2.yaml,99e152674b6ec395284ba888b51ac51c56eaa03e63f0d714179f4520600941c4,2026-11-26T05:32:58Z,Shared toolkit single-dip gates: fixed C8 noise and C10 window; SES cutoffs 30.93 (<6 h) and 11.03 (>=6 h) from the upside-down null
|
|
11
|
+
calibration/periodic_gates_v4.yaml,d227443d07616c3856ab1701cb430fbe7394f9e425d0841a485f0bc8b8500b55,2026-11-26T05:32:58Z,"Shared toolkit periodic search: per-score SDE cutoffs semi 12.0, coherent 14.86 from a 500-star upside-down null"
|
|
12
|
+
calibration/deep_tests_v2.yaml,56e312ce701264587e52a599f5ac24e067d2a325c9e42825537ae8abd95d9485,2026-11-26T06:41:26Z,Shape test fails only on evidence (big body or V better by >9); registration uses 25 brightest stars with fluxes >= 0
|
|
13
|
+
calibration/exocomet_gates_v1.yaml,be9f18f6e355903e2897c71d8f09c529a42bdf25482144a84eec33807f25a15b,2026-11-26T11:15:04Z,"Exocomet single-dip gates; SES cutoff 52.1 from the upside-down null of 8,371 A/F stars"
|
|
14
|
+
calibration/crumbling_gates_v1.yaml,af61a0dba732a9b431f8cb0fe58b5c09bae7c14b4e7161f8c12d299117c1504c,2026-11-26T11:15:04Z,"Crumbling-planet gates; dip/bump ratio cutoff 4.33 from the upside-down null of 1,795 K dwarfs"
|
|
15
|
+
calibration/periodic_gates_v5.yaml,357101ed89f9ce942f9fb678148ce1ba6ddd244bf8e2bba28c67e7d4e2fdedd2,2026-11-26T13:21:08Z,"G1_single cut max(0.3, 1.5/N): v4 rejected every 3-transit signal by arithmetic"
|
|
16
|
+
calibration/followup_v1.yaml,b6c7ad94ba4f24c0f145cc055e70fef8f8ddba6e837fb06d00924dfb657aa7d1,2026-11-26T20:46:42Z,"Amateur follow-up selection (T16 study): T<=12.5, depth>=3000 ppm, dur<=6 h, ExoClock ground S/N>=6 at 12 inch; selection only, never a kill test"
|
|
17
|
+
calibration/gaia_flags_v1.yaml,3d19b680c4b86ab37a7ddfd2e338acebf89b9e721a926d1e628b80378d38897d,2026-11-26T19:19:32Z,"Gaia DR3 companion/variability flags for deep-stage survivors, info only (data-sources plan step 1)"
|
|
18
|
+
calibration/star_params_v1.yaml,1396197f3a778fcfe0016cf5ce7f393c85d8da9c13b26518365fb88acf6bc1d7,2026-11-27T04:10:09Z,"Gaia DR3 FLAME radius and GSP-Spec/Phot Teff as a second opinion on the star, info only (data-sources plan step 3)"
|
|
19
|
+
calibration/deep_tests_v3.yaml,c3979330c32db567a9b684167c657b841cb381317e5221d4caaf10c449d7c08c,2026-11-27T04:52:23Z,"Adds the aperture-size test (pixel.aperture_growth) as a recorded-only check: widening 1.05 and 4-sigma margin from 70 settled TOIs; not a kill test (Derek, 2026-11-26)"
|
|
20
|
+
calibration/lamost_v1.yaml,c8d58b129bda19c2daf8db8d560c7a39a664f77953dcb3914ee17452f00e447e,2026-11-27T05:59:45Z,"LAMOST DR5 Teff, logg and multi-visit RV as a second opinion on survivors' stars, info only (data-sources plan step 3, LAMOST part)"
|
|
21
|
+
calibration/periodic_gates_v6.yaml,6487c450297a7b5fdecefcf6c0eaff39bbb426bfbc72340f0fe2bc3c364692c6,2026-11-27T06:44:54Z,"Starspot-echo gate G1_echo (3-25x, 1/3-1/4x spin, 0.05%, power>0.05) + spin measured with the candidate's dips cut out; searches/spot-echo-gate-2026-11-27"
|
|
22
|
+
calibration/pma_v1.yaml,08f365cacda86ab38c1692fc6fb3695a2e5135ff76fcf025e33e44cf1c85695f,2026-11-27T08:06:33Z,"Hipparcos-Gaia proper-motion anomaly (Kervella+2022) for survivors, info only (data-sources plan step 5)"
|
|
23
|
+
calibration/deep_tests_v4.yaml,7850c6962d7762f17eb15fa3b16df16bc2294aea321b4eb1d9bfab0b3738f0e6,2026-11-27T10:09:19Z,"Gaia eclipsing neighbour, RV scatter and a heavy (>13 Mjup) Gaia orbit at the transit period rule candidates out but never hold them back (Derek 2026-11-27: rule-out only); searches/gaia-ruleout-2026-11-27"
|
|
24
|
+
calibration/sdb_gates_v1.yaml,b5d9339909c5c7c1b7c688f046310185e20ec83e5877ddaa83e014b9de74f2d0,2026-11-27T10:35:18Z,"Hot-subdwarf short-dip search gates and null cutoffs (searches/hot-subdwarfs-2026-11-27), white-dwarf gates with box lengths for a 0.2 Rsun star"
|
|
25
|
+
calibration/circumbinary_gates_v1.yaml,c710ac2f2dca077a10c4345fe4eba8e9d4760a535e9d773d024f37b3fc6f6c61,2026-11-27T07:53:32Z,Circumbinary corrected-clock search gates; C_stat = strict max of the upside-down null of the same 282 binaries per passage-count class (51.69 / 19.37)
|
|
26
|
+
calibration/kepler_v1.yaml,a261889937a3d776f60774d955b7004f7f18935bd4ce2d48326440e1196fe06d,2026-11-27T15:32:16Z,Kepler/K2 light curves as an information-only second look at survivors (data-sources plan step 7)
|
|
27
|
+
calibration/kepler_v2.yaml,782a24ca83a917236d7588cb8087f4e5a6bc52dd69687dce4fa7c1c20f0a7efe,2026-11-27T15:56:29Z,"Kepler/K2 second look v2: depth from the dip's middle, second dip must be >=5% of the main one, odd/even must differ by >10%; v1 flagged most bright real planets (searches/kepler-check-2026-11-27)"
|
|
28
|
+
calibration/giant_gates_v1.yaml,ba818241313d464f0514c6229ca7f74ce3659ec779be4de7f337843f5692a645,2026-11-27T15:47:20Z,Giant-planet gates: periodic_gates_v6 with G3 size 8-22.4 Re (2.05 RJ physical upper limit); registered before scoring on the settled-TOI answer key
|
|
29
|
+
calibration/deep_tests_v5.yaml,90efac20916a08e5c87567c272c7cbbd7e3016def1ca328baa729e432d403f6c,2026-11-27T12:40:50Z,Review fixes 2026-11-27 (Derek approved): TRICERATOPS judged on the mean of 20 runs of the final fit and needs NFPP < 0.001 as well as FPP < 0.015 to validate; new information-only settings for the NASA full-frame detection check and the oval-orbit note. No v4 cutoff changed; stricter only.
|
|
30
|
+
calibration/prereg_null_v1.yaml,3a89b08f4c36b29bbf81536975d6989616a83ecb924ee60e60fe1e366d713548,2026-11-28T06:30:46Z,"Fixed-period noise test for signals whose ephemeris was public before the data (motivated_by TIC 4206066, Duet; Derek chose to add it 28 Nov 2026). Registered before running it on Duet."
|
|
31
|
+
calibration/deep_tests_v6.yaml,ca0bc87df3ecc6a388aebb638d846293132b3200b32f6ef34f163ad3c2cc4862,2026-11-27T21:45:37Z,"Method audit finding 6 (2026-11-27): adds the held-out check holdout.split_half as a recorded-only test (fit on half the dips, look for the other half); no v5 cutoff changed; registered before scoring on settled TOIs"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Circumbinary "corrected clock" search (tools/transit/circumbinary.py), gates v1.
|
|
2
|
+
# Frozen once registered: never edit; add v2.
|
|
3
|
+
#
|
|
4
|
+
# What was set when (2026-11-26/27, searches/circumbinary-method-2026-11-26/):
|
|
5
|
+
# - K0, C_ntr, C_depth, C_consistency, C_missing, C_phase and the two passage-count classes of C_stat
|
|
6
|
+
# (3-4 passages, 5 or more): before any real or upside-down light curve was searched.
|
|
7
|
+
# - C_single: its measure (excess over the share a passage's length and noise entitle it to) was
|
|
8
|
+
# chosen on synthetic light curves, before the null.
|
|
9
|
+
# - C_seen: added after the first upside-down pass. The strongest null signals were two big
|
|
10
|
+
# brightenings plus an empty third passage; three passages are not three sightings.
|
|
11
|
+
# - K1: added after the first real pass, which re-found strictly periodic signals that NASA's
|
|
12
|
+
# pipeline already lists (a second eclipsing binary in a quadruple, blended binaries).
|
|
13
|
+
# Every gate was applied to the upside-down run and the real run identically, and the cutoffs
|
|
14
|
+
# below were re-derived after each addition (they did not move).
|
|
15
|
+
# - C_stat: strict maximum of the upside-down (null) run of the same search on the same 282
|
|
16
|
+
# eclipsing binaries, over signals passing every other gate, rounded up to 0.01.
|
|
17
|
+
# 3-4 passages: 51.69 (TIC 238196979, P = 59.68 d; flare-like brightenings seen upside down)
|
|
18
|
+
# 5+ passages: 19.37 (TIC 260128333, P = 184.46 d)
|
|
19
|
+
# Source: searches/circumbinary-method-2026-11-26/data/numbers.json ("null_max", "cut").
|
|
20
|
+
# Known limits: needs 3 passages; flares turn into fake dips in the upside-down run, which makes the
|
|
21
|
+
# 3-4 passage cutoff very high; upside-down runs understate dips caused by spots and eclipse leftovers.
|
|
22
|
+
name: circumbinary_gates
|
|
23
|
+
version: 1
|
|
24
|
+
gates:
|
|
25
|
+
- {id: K0, kind: not_known, field: host, label: star not already a TOI/CTOI host}
|
|
26
|
+
- {id: K1, kind: not_tce_multiple, field: tce_periods, max_multiple: 10, step: 0.5, tolerance: 0.003, label: 'not a strictly periodic signal at a whole or half multiple (0.5-10 x) of the period of a SPOC TCE on this star'}
|
|
27
|
+
- {id: C_ntr, field: ntr, op: '>=', cut: 3, label: at least 3 passages in the data}
|
|
28
|
+
- {id: C_seen, field: n_seen, op: '>=', cut: 3, label: "at least 3 passages each show their own dip of 3 sigma or more"}
|
|
29
|
+
- {id: C_depth, field: depth, op: between, cut: [0, 0.05], label: dip between 0 and 5% deep}
|
|
30
|
+
- {id: C_single, field: max_ev_excess, op: <, cut: 0.2, label: no single passage carries 20 points more of the signal than its length and noise entitle it to}
|
|
31
|
+
- {id: C_consistency, field: depth_med_over_mean, op: '>', cut: 0.5, label: median / mean passage depth above 0.5}
|
|
32
|
+
- {id: C_missing, field: frac_missing, op: <=, cut: 0.34, label: at most a third of predicted passages show no dip}
|
|
33
|
+
- {id: C_phase, field: phase_spread, op: '>', cut: 0.2, label: crossings spread over the binary's cycle (not the binary's own eclipse leftovers)}
|
|
34
|
+
- {id: C_stat, field: snr, op: '>', cut_by_ntr: [[3, 51.7], [5, 19.38]], label: 'combined signal above the upside-down null of the 282 binaries, per class of passage count'}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Crumbling (disintegrating) planet search, gates v1. Frozen once registered: never edit; add v2.
|
|
2
|
+
# Sample: 1,795 K dwarfs from planet run 3 with Tmag < 11 and >= 10 TESS sectors. Search 0.33-3 d.
|
|
3
|
+
crumble:
|
|
4
|
+
ratio_min: 4.33 # G0: dip/bump ratio above the upside-down null maximum (4.326, TIC 240181989; next 2.14)
|
|
5
|
+
secondary_sigma_max: 3 # G1: no eclipse at phase 0.5 (> 3 sigma means an eclipsing binary)
|
|
6
|
+
oot_chi2r_max: 10 # G1: fold flat outside the dip. Looser than planet runs (3) because crumbling
|
|
7
|
+
# planets have forward-scattering bumps and leading tails; BD+05 4868 Ab gives 4.5
|
|
8
|
+
single_share_max: 0.3 # G1: no single transit gives >= 30% of the signal's SNR^2 (same as the planet runs).
|
|
9
|
+
# Added after the first pass: all 13 stars that passed the other gates were
|
|
10
|
+
# single deep events folded at many periods. BD+05 4868 Ab gives 0.11.
|
|
11
|
+
n_tr_min: 3 # G2
|
|
12
|
+
depth_max: 0.03 # G3: mean depth <= 3% (known crumbling planets 0.1-2%)
|
|
13
|
+
dur_ratio: [0.25, 3.0] # G4: duration / expected for this star (tails lengthen the dip: upper end 3, not 2)
|
|
14
|
+
var_chi2r_min: 3 # class 'variable' if transit-to-transit or sector-to-sector depth chi2/dof > 3
|
|
15
|
+
tail_sigma_min: 3 # ... or a trailing tail after egress > 3 sigma
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 1: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# Values follow what runs 1-3, the paper run and the single-transit run actually used (process guide step 7).
|
|
3
|
+
# FROZEN once registered. Never edit; add v2 instead.
|
|
4
|
+
name: deep_tests
|
|
5
|
+
version: 1
|
|
6
|
+
status: current
|
|
7
|
+
pixels:
|
|
8
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
9
|
+
cutout_size: 15 # TESScut pixels
|
|
10
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
11
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
12
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
13
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
14
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
15
|
+
density_match:
|
|
16
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
17
|
+
max_b: 0.9 # and not grazing
|
|
18
|
+
shape:
|
|
19
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
20
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
21
|
+
fail_large_k_at_or_below: 0 # FAIL only if a big body (k >= 0.3) fits as well as or better than the best fit,
|
|
22
|
+
# or a V fits better than a flat bottom. Between 0 and 9 the light curve is too
|
|
23
|
+
# noisy to tell: UNMEASURED (still blocks a pass).
|
|
24
|
+
triceratops:
|
|
25
|
+
validate_below: 0.015 # FPP below this validates; above it means "needs more evidence", not "ruled out"
|
|
26
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
27
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 2: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# FROZEN once registered. Never edit; add v3 instead.
|
|
3
|
+
name: deep_tests
|
|
4
|
+
version: 2
|
|
5
|
+
status: current
|
|
6
|
+
changes_from_v1:
|
|
7
|
+
- "Shape test fails only on evidence: a big body or a V shape must fit BETTER by more than 9 (v1 failed at 0,
|
|
8
|
+
so on TIC 38699429 a difference of -0.0 vs +0.2 between two MCMC runs flipped fail/unmeasured). A pass
|
|
9
|
+
still needs the big body ruled out by more than 9; anything between is UNMEASURED, which blocks a pass."
|
|
10
|
+
- "Image registration uses only the 25 brightest Gaia stars in the cutout (plus the target), with fluxes >= 0
|
|
11
|
+
(a crowded field of 180 stars made the fit degenerate on TIC 193980106)."
|
|
12
|
+
|
|
13
|
+
pixels:
|
|
14
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
15
|
+
cutout_size: 15 # TESScut pixels
|
|
16
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
17
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
18
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
19
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
20
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
21
|
+
scene_max_stars: 25 # brightest stars used for registration
|
|
22
|
+
density_match:
|
|
23
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
24
|
+
max_b: 0.9 # and not grazing
|
|
25
|
+
shape:
|
|
26
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
27
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
28
|
+
fail_large_k_below: -9 # FAIL if a big body (k >= 0.3) fits better than the best small one by > 9
|
|
29
|
+
fail_v_minus_flat_below: -9 # FAIL if a V fits better than a flat bottom by > 9
|
|
30
|
+
triceratops:
|
|
31
|
+
validate_below: 0.015 # FPP below this validates; above it means "needs more evidence", not "ruled out"
|
|
32
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
33
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 3: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# FROZEN once registered. Never edit; add v4 instead.
|
|
3
|
+
name: deep_tests
|
|
4
|
+
version: 3
|
|
5
|
+
status: current
|
|
6
|
+
changes_from_v2:
|
|
7
|
+
- "New test pixel.aperture_growth (tools/transit/aperture.py): our own photometry in a 1 px and a 2.5 px circle.
|
|
8
|
+
RECORDED ONLY (record_only_tests): it runs on every candidate and its result is shown, but it is not in
|
|
9
|
+
kill_tests, so it cannot change a verdict (Derek, 2026-11-26). Reason: on 70 TOIs with settled answers
|
|
10
|
+
(searches/aperture-gate-calibration-2026-11-26/data/calibration.json) it failed 0 of 40 confirmed planets and
|
|
11
|
+
4 of 30 known off-target false positives, but could not decide for 45 of the 70 and passed 4 known blends.
|
|
12
|
+
Everything else is unchanged from v2."
|
|
13
|
+
|
|
14
|
+
pixels:
|
|
15
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
16
|
+
cutout_size: 15 # TESScut pixels
|
|
17
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
18
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
19
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
20
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
21
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
22
|
+
scene_max_stars: 25 # brightest stars used for registration
|
|
23
|
+
aperture:
|
|
24
|
+
cutout_size: 15 # TESScut pixels
|
|
25
|
+
r_in_pix: 1.0 # small circle
|
|
26
|
+
r_out_pix: 2.5 # large circle
|
|
27
|
+
plant_offset_pix: 1.0 # where the "off target" fake dip is planted (mean of 4 directions)
|
|
28
|
+
psf_sigma_scale: 1.05 # fitted image width times this = width of the planted dip (median 1.06 on 53 sector images of isolated stars)
|
|
29
|
+
bin_seconds: 1800 # fast cadences are binned to this
|
|
30
|
+
bin_seconds_short: 600 # ... or to this for short transits
|
|
31
|
+
short_transit_days: 0.104 # transits shorter than 2.5 h count as short
|
|
32
|
+
baseline_window_days: 0.75 # running-median baseline (or 4 transit durations if longer)
|
|
33
|
+
sector_clip_sigma: 6 # sectors this far from the sector median are dropped before averaging
|
|
34
|
+
min_target_flux: 50 # e-/s in the large circle; less means a blank cutout (unmeasured)
|
|
35
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image
|
|
36
|
+
scene_gmax: 19
|
|
37
|
+
scene_max_stars: 25
|
|
38
|
+
max_registration_shift_pix: 1.0
|
|
39
|
+
null_phases: [0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9] # transit-free phases (0.5 left out: secondary eclipses)
|
|
40
|
+
null_days_single: [-8, -7, -6, -5, -4, -3, -2, 2, 3, 4, 5, 6, 7, 8] # shifts for a single dip
|
|
41
|
+
min_null_points: 8 # fewer measurable transit-free times: unmeasured
|
|
42
|
+
min_snr: 5 # dip in either circle, in units of the transit-free scatter; weaker is unmeasured
|
|
43
|
+
score_cut: 0.5 # half-way between on target (1) and one pixel away (0): by design, not tuned
|
|
44
|
+
decide_sigma: 4 # PASS needs the score this many error bars above the cut, FAIL this many below; else unmeasured.
|
|
45
|
+
# Smallest margin with <= 1% wrong calls on planted dips and no confirmed planet failed (dev half)
|
|
46
|
+
neighbour_r_pix: 1.5 # circle centred on each suspect neighbour (information only)
|
|
47
|
+
neighbour_min_sep_pix: 1.5
|
|
48
|
+
neighbour_radius_arcsec: 80
|
|
49
|
+
neighbour_max_stars: 8
|
|
50
|
+
neighbour_exclude_sigma: 3
|
|
51
|
+
density_match:
|
|
52
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
53
|
+
max_b: 0.9 # and not grazing
|
|
54
|
+
shape:
|
|
55
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
56
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
57
|
+
fail_large_k_below: -9 # FAIL if a big body (k >= 0.3) fits better than the best small one by > 9
|
|
58
|
+
fail_v_minus_flat_below: -9 # FAIL if a V fits better than a flat bottom by > 9
|
|
59
|
+
triceratops:
|
|
60
|
+
validate_below: 0.015 # FPP below this validates; above it means "needs more evidence", not "ruled out"
|
|
61
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
62
|
+
record_only_tests: [pixel.aperture_growth] # run and shown, never part of the verdict
|
|
63
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 4: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# FROZEN once registered. Never edit; add v5 instead.
|
|
3
|
+
name: deep_tests
|
|
4
|
+
version: 4
|
|
5
|
+
status: current
|
|
6
|
+
changes_from_v3:
|
|
7
|
+
- "Three Gaia DR3 checks (tools/transit/gaia_checks.py, calibration/gaia_flags_v1.yaml) become RULE-OUT ONLY
|
|
8
|
+
tests (rule_out_tests): a clear warning rules the candidate out; no warning, or no Gaia data for the star,
|
|
9
|
+
changes nothing (Derek, 2026-11-27: 'Rule-out only', because Gaia has no RV or orbit data for most stars, so
|
|
10
|
+
making them required would hold almost every survivor back as a lead). They are not in kill_tests, so a
|
|
11
|
+
missing value can never count against a candidate, and can never count as a pass either."
|
|
12
|
+
- "gaia.eb_neighbour (warning = flag): vetting_gates_v1 gaia_eb_neighbour, held-out half 0/623 planets lost,
|
|
13
|
+
62/502 false positives caught (searches/vetting-tests-2026-11-26)."
|
|
14
|
+
- "gaia.rv_epoch_scatter (warning = flag): vetting_gates_v1 gaia_rv_scatter (> 8.42 km/s), held-out half 8/484
|
|
15
|
+
planets lost (1.7%), 96/380 false positives caught (same study)."
|
|
16
|
+
- "gaia.companion (warning = a Gaia DR3 orbit whose period matches the transit period, gaia_flags_v1 ratios and
|
|
17
|
+
tolerance, AND a companion heavier than 13 Jupiter masses even at its minimum mass, from the orbit's speed swing
|
|
18
|
+
and the star's mass; a double-lined orbit counts as a star. A lighter or unknown-mass orbit, an acceleration, or
|
|
19
|
+
the bare non_single_star flag stays information only). Scored on the same settled-TOI answer key
|
|
20
|
+
(searches/gaia-ruleout-2026-11-27): dev half 3/761 'planets' lost (all three are brown dwarfs: TOI-148.01,
|
|
21
|
+
TOI-503.01, TOI-5882.01) and 38/701 false positives caught; held-out half 0/670 planets lost, 28/719 false
|
|
22
|
+
positives caught (10 of them not caught by the RV-scatter test). The 13 Jupiter-mass limit (the deuterium-burning
|
|
23
|
+
line between planets and brown dwarfs) was added after a first scoring showed the held-out half losing WASP-18 b
|
|
24
|
+
(TOI-185.01, about 10 Jupiter masses), whose orbit Gaia measured; it is a physical boundary, not a tuned value."
|
|
25
|
+
- "Still information only: gaia.ruwe, gaia.ipd_* (lose 2-4% of planets), gaia.eb_target (never seen on a TOI, so
|
|
26
|
+
not validated), gaia.variability, gaia.pm_anomaly, stellar.* second opinions. Everything else unchanged from v3."
|
|
27
|
+
|
|
28
|
+
pixels:
|
|
29
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
30
|
+
cutout_size: 15 # TESScut pixels
|
|
31
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
32
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
33
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
34
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
35
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
36
|
+
scene_max_stars: 25 # brightest stars used for registration
|
|
37
|
+
aperture:
|
|
38
|
+
cutout_size: 15 # TESScut pixels
|
|
39
|
+
r_in_pix: 1.0 # small circle
|
|
40
|
+
r_out_pix: 2.5 # large circle
|
|
41
|
+
plant_offset_pix: 1.0 # where the "off target" fake dip is planted (mean of 4 directions)
|
|
42
|
+
psf_sigma_scale: 1.05 # fitted image width times this = width of the planted dip (median 1.06 on 53 sector images of isolated stars)
|
|
43
|
+
bin_seconds: 1800 # fast cadences are binned to this
|
|
44
|
+
bin_seconds_short: 600 # ... or to this for short transits
|
|
45
|
+
short_transit_days: 0.104 # transits shorter than 2.5 h count as short
|
|
46
|
+
baseline_window_days: 0.75 # running-median baseline (or 4 transit durations if longer)
|
|
47
|
+
sector_clip_sigma: 6 # sectors this far from the sector median are dropped before averaging
|
|
48
|
+
min_target_flux: 50 # e-/s in the large circle; less means a blank cutout (unmeasured)
|
|
49
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image
|
|
50
|
+
scene_gmax: 19
|
|
51
|
+
scene_max_stars: 25
|
|
52
|
+
max_registration_shift_pix: 1.0
|
|
53
|
+
null_phases: [0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9] # transit-free phases (0.5 left out: secondary eclipses)
|
|
54
|
+
null_days_single: [-8, -7, -6, -5, -4, -3, -2, 2, 3, 4, 5, 6, 7, 8] # shifts for a single dip
|
|
55
|
+
min_null_points: 8 # fewer measurable transit-free times: unmeasured
|
|
56
|
+
min_snr: 5 # dip in either circle, in units of the transit-free scatter; weaker is unmeasured
|
|
57
|
+
score_cut: 0.5 # half-way between on target (1) and one pixel away (0): by design, not tuned
|
|
58
|
+
decide_sigma: 4 # PASS needs the score this many error bars above the cut, FAIL this many below; else unmeasured.
|
|
59
|
+
# Smallest margin with <= 1% wrong calls on planted dips and no confirmed planet failed (dev half)
|
|
60
|
+
neighbour_r_pix: 1.5 # circle centred on each suspect neighbour (information only)
|
|
61
|
+
neighbour_min_sep_pix: 1.5
|
|
62
|
+
neighbour_radius_arcsec: 80
|
|
63
|
+
neighbour_max_stars: 8
|
|
64
|
+
neighbour_exclude_sigma: 3
|
|
65
|
+
density_match:
|
|
66
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
67
|
+
max_b: 0.9 # and not grazing
|
|
68
|
+
shape:
|
|
69
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
70
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
71
|
+
fail_large_k_below: -9 # FAIL if a big body (k >= 0.3) fits better than the best small one by > 9
|
|
72
|
+
fail_v_minus_flat_below: -9 # FAIL if a V fits better than a flat bottom by > 9
|
|
73
|
+
triceratops:
|
|
74
|
+
validate_below: 0.015 # FPP below this validates; above it means "needs more evidence", not "ruled out"
|
|
75
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
76
|
+
record_only_tests: [pixel.aperture_growth] # run and shown, never part of the verdict
|
|
77
|
+
rule_out_tests: # a warning rules the candidate out; no warning or no data changes nothing
|
|
78
|
+
gaia.eb_neighbour: flag
|
|
79
|
+
gaia.rv_epoch_scatter: flag
|
|
80
|
+
gaia.companion: heavy_companion
|
|
81
|
+
rule_out_min_companion_mjup: 13 # the deuterium-burning limit: heavier is a brown dwarf or a star, not a planet
|
|
82
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 5: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# FROZEN once registered. Never edit; add v6 instead.
|
|
3
|
+
name: deep_tests
|
|
4
|
+
version: 5
|
|
5
|
+
status: current
|
|
6
|
+
changes_from_v4:
|
|
7
|
+
- "Four fixes from the referee-style review of 2026-11-27 (reviews/2026-11-27-referee-review-two-papers.md;
|
|
8
|
+
Derek approved all of them the same day). No cutoff of v4 is changed and no test is added to kill_tests or
|
|
9
|
+
rule_out_tests, so no verdict can change; only how fpp.triceratops is computed and when it validates."
|
|
10
|
+
- "ffi_tce (new, information only): known.ffi_tce reads NASA's TESS-SPOC full-frame detection reports at MAST
|
|
11
|
+
and matches periods at ratios n/m up to 10 with the same 0.3% tolerance as periodic_gates known_object_match.
|
|
12
|
+
Reason: TIC 38699429.01 had such a report while our write-up said NASA had not detected it."
|
|
13
|
+
- "eccentricity (new, information only): stellar.density_eccentric gives the smallest eccentricity that would
|
|
14
|
+
explain a density mismatch; flagged when even the 1-sigma lower bound is above 0.3. The 0.3 is a round
|
|
15
|
+
number for 'clearly oval', not tuned on any sample; it changes no verdict."
|
|
16
|
+
- "triceratops: use_final_fit scores the final fit (depth = k^2, fitted period and mid-time) on one cadence
|
|
17
|
+
with that cadence's exposure time and scatter; n_runs repeats the calculation and judges the mean (the
|
|
18
|
+
tool's authors advise 20: Giacalone et al. 2021); nfpp_below adds their second condition for validating
|
|
19
|
+
(NFPP < 0.001). Stricter than v4, which validated on FPP alone from a single run."
|
|
20
|
+
pixels:
|
|
21
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
22
|
+
cutout_size: 15 # TESScut pixels
|
|
23
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
24
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
25
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
26
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
27
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
28
|
+
scene_max_stars: 25 # brightest stars used for registration
|
|
29
|
+
aperture:
|
|
30
|
+
cutout_size: 15 # TESScut pixels
|
|
31
|
+
r_in_pix: 1.0 # small circle
|
|
32
|
+
r_out_pix: 2.5 # large circle
|
|
33
|
+
plant_offset_pix: 1.0 # where the "off target" fake dip is planted (mean of 4 directions)
|
|
34
|
+
psf_sigma_scale: 1.05 # fitted image width times this = width of the planted dip (median 1.06 on 53 sector images of isolated stars)
|
|
35
|
+
bin_seconds: 1800 # fast cadences are binned to this
|
|
36
|
+
bin_seconds_short: 600 # ... or to this for short transits
|
|
37
|
+
short_transit_days: 0.104 # transits shorter than 2.5 h count as short
|
|
38
|
+
baseline_window_days: 0.75 # running-median baseline (or 4 transit durations if longer)
|
|
39
|
+
sector_clip_sigma: 6 # sectors this far from the sector median are dropped before averaging
|
|
40
|
+
min_target_flux: 50 # e-/s in the large circle; less means a blank cutout (unmeasured)
|
|
41
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image
|
|
42
|
+
scene_gmax: 19
|
|
43
|
+
scene_max_stars: 25
|
|
44
|
+
max_registration_shift_pix: 1.0
|
|
45
|
+
null_phases: [0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9] # transit-free phases (0.5 left out: secondary eclipses)
|
|
46
|
+
null_days_single: [-8, -7, -6, -5, -4, -3, -2, 2, 3, 4, 5, 6, 7, 8] # shifts for a single dip
|
|
47
|
+
min_null_points: 8 # fewer measurable transit-free times: unmeasured
|
|
48
|
+
min_snr: 5 # dip in either circle, in units of the transit-free scatter; weaker is unmeasured
|
|
49
|
+
score_cut: 0.5 # half-way between on target (1) and one pixel away (0): by design, not tuned
|
|
50
|
+
decide_sigma: 4 # PASS needs the score this many error bars above the cut, FAIL this many below; else unmeasured.
|
|
51
|
+
# Smallest margin with <= 1% wrong calls on planted dips and no confirmed planet failed (dev half)
|
|
52
|
+
neighbour_r_pix: 1.5 # circle centred on each suspect neighbour (information only)
|
|
53
|
+
neighbour_min_sep_pix: 1.5
|
|
54
|
+
neighbour_radius_arcsec: 80
|
|
55
|
+
neighbour_max_stars: 8
|
|
56
|
+
neighbour_exclude_sigma: 3
|
|
57
|
+
density_match:
|
|
58
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
59
|
+
max_b: 0.9 # and not grazing
|
|
60
|
+
shape:
|
|
61
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
62
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
63
|
+
fail_large_k_below: -9 # FAIL if a big body (k >= 0.3) fits better than the best small one by > 9
|
|
64
|
+
fail_v_minus_flat_below: -9 # FAIL if a V fits better than a flat bottom by > 9
|
|
65
|
+
triceratops:
|
|
66
|
+
validate_below: 0.015 # mean FPP below this, and ...
|
|
67
|
+
nfpp_below: 0.001 # ... mean NFPP (nearby-star false positive) below this, validates (Giacalone et al. 2021);
|
|
68
|
+
# anything else means "needs more evidence", not "ruled out"
|
|
69
|
+
n_runs: 20 # repeat the calculation; the mean is judged and the run-to-run range is recorded
|
|
70
|
+
use_final_fit: true # depth, period and mid-time from the final fit; one cadence with its own exposure time
|
|
71
|
+
parallel: true # the tool's faster vectorised mode
|
|
72
|
+
eccentricity:
|
|
73
|
+
flag_e_min: 0.3 # information only: flag when the 1-sigma lower bound of the needed eccentricity exceeds this
|
|
74
|
+
ffi_tce: # information only: NASA full-frame detection reports, period ratios tried
|
|
75
|
+
max_n_m: 10
|
|
76
|
+
tolerance: 0.003
|
|
77
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
78
|
+
record_only_tests: [pixel.aperture_growth] # run and shown, never part of the verdict
|
|
79
|
+
rule_out_tests: # a warning rules the candidate out; no warning or no data changes nothing
|
|
80
|
+
gaia.eb_neighbour: flag
|
|
81
|
+
gaia.rv_epoch_scatter: flag
|
|
82
|
+
gaia.companion: heavy_companion
|
|
83
|
+
rule_out_min_companion_mjup: 13 # the deuterium-burning limit: heavier is a brown dwarf or a star, not a planet
|
|
84
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Deep (expensive) tests, version 6: cutoffs for the shared toolkit's tools/transit deep tests.
|
|
2
|
+
# FROZEN once registered. Never edit; add v7 instead.
|
|
3
|
+
name: deep_tests
|
|
4
|
+
version: 6
|
|
5
|
+
status: current
|
|
6
|
+
motivated_by: "no particular star. Method audit of 2026-11-27 (docs/METHOD_AUDIT.md finding 6): every deep test takes the dip as real; none checks that it comes back in data that did not set its timing."
|
|
7
|
+
changes_from_v5:
|
|
8
|
+
- "holdout (new, RECORDED ONLY): holdout.split_half fixes the period and timing from half of the observed dips
|
|
9
|
+
and measures the depth where the other half's dips must fall, both ways round (tools/transit/holdout.py).
|
|
10
|
+
It is listed in record_only_tests, so it is run and shown and cannot change a verdict. No v5 cutoff is
|
|
11
|
+
changed. Its numbers below are round design values, not tuned on any sample: S/N 3 to count as seen,
|
|
12
|
+
a depth within a factor of 2, and 'missing' only when a dip expected at S/N 5 or more measures under 1.
|
|
13
|
+
Before it may hold a candidate back or rule one out it must be scored on settled TOIs and on upside-down
|
|
14
|
+
light curves in a later version (and Derek decides which of the two it may do)."
|
|
15
|
+
pixels:
|
|
16
|
+
radius_arcsec: 60 # every Gaia star this close is tried as the host
|
|
17
|
+
cutout_size: 15 # TESScut pixels
|
|
18
|
+
min_detection_dchi2: 25 # dip must be seen in the difference images (vs no dip) to be located at all
|
|
19
|
+
min_dchi2_others: 9 # every other star must fit worse than the target by more than this
|
|
20
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image (whole 15x15 cutout)
|
|
21
|
+
scene_gmax: 19 # ... down to this G magnitude (plus the target)
|
|
22
|
+
max_registration_shift_pix: 1.0 # a sector whose image sits > 1 px from its WCS is skipped
|
|
23
|
+
scene_max_stars: 25 # brightest stars used for registration
|
|
24
|
+
aperture:
|
|
25
|
+
cutout_size: 15 # TESScut pixels
|
|
26
|
+
r_in_pix: 1.0 # small circle
|
|
27
|
+
r_out_pix: 2.5 # large circle
|
|
28
|
+
plant_offset_pix: 1.0 # where the "off target" fake dip is planted (mean of 4 directions)
|
|
29
|
+
psf_sigma_scale: 1.05 # fitted image width times this = width of the planted dip (median 1.06 on 53 sector images of isolated stars)
|
|
30
|
+
bin_seconds: 1800 # fast cadences are binned to this
|
|
31
|
+
bin_seconds_short: 600 # ... or to this for short transits
|
|
32
|
+
short_transit_days: 0.104 # transits shorter than 2.5 h count as short
|
|
33
|
+
baseline_window_days: 0.75 # running-median baseline (or 4 transit durations if longer)
|
|
34
|
+
sector_clip_sigma: 6 # sectors this far from the sector median are dropped before averaging
|
|
35
|
+
min_target_flux: 50 # e-/s in the large circle; less means a blank cutout (unmeasured)
|
|
36
|
+
scene_radius_arcsec: 160 # Gaia stars used to register each image
|
|
37
|
+
scene_gmax: 19
|
|
38
|
+
scene_max_stars: 25
|
|
39
|
+
max_registration_shift_pix: 1.0
|
|
40
|
+
null_phases: [0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9] # transit-free phases (0.5 left out: secondary eclipses)
|
|
41
|
+
null_days_single: [-8, -7, -6, -5, -4, -3, -2, 2, 3, 4, 5, 6, 7, 8] # shifts for a single dip
|
|
42
|
+
min_null_points: 8 # fewer measurable transit-free times: unmeasured
|
|
43
|
+
min_snr: 5 # dip in either circle, in units of the transit-free scatter; weaker is unmeasured
|
|
44
|
+
score_cut: 0.5 # half-way between on target (1) and one pixel away (0): by design, not tuned
|
|
45
|
+
decide_sigma: 4 # PASS needs the score this many error bars above the cut, FAIL this many below; else unmeasured.
|
|
46
|
+
# Smallest margin with <= 1% wrong calls on planted dips and no confirmed planet failed (dev half)
|
|
47
|
+
neighbour_r_pix: 1.5 # circle centred on each suspect neighbour (information only)
|
|
48
|
+
neighbour_min_sep_pix: 1.5
|
|
49
|
+
neighbour_radius_arcsec: 80
|
|
50
|
+
neighbour_max_stars: 8
|
|
51
|
+
neighbour_exclude_sigma: 3
|
|
52
|
+
density_match:
|
|
53
|
+
max_sigma: 3 # transit-fit density within 3 sigma of the measured star
|
|
54
|
+
max_b: 0.9 # and not grazing
|
|
55
|
+
shape:
|
|
56
|
+
min_dchi2_large_k: 9 # bigger objects (k >= 0.3, any dilution and grazing angle) fit worse by > 9
|
|
57
|
+
min_v_minus_flat: 0 # a flat-bottomed transit fits at least as well as a V
|
|
58
|
+
fail_large_k_below: -9 # FAIL if a big body (k >= 0.3) fits better than the best small one by > 9
|
|
59
|
+
fail_v_minus_flat_below: -9 # FAIL if a V fits better than a flat bottom by > 9
|
|
60
|
+
triceratops:
|
|
61
|
+
validate_below: 0.015 # mean FPP below this, and ...
|
|
62
|
+
nfpp_below: 0.001 # ... mean NFPP (nearby-star false positive) below this, validates (Giacalone et al. 2021);
|
|
63
|
+
# anything else means "needs more evidence", not "ruled out"
|
|
64
|
+
n_runs: 20 # repeat the calculation; the mean is judged and the run-to-run range is recorded
|
|
65
|
+
use_final_fit: true # depth, period and mid-time from the final fit; one cadence with its own exposure time
|
|
66
|
+
parallel: true # the tool's faster vectorised mode
|
|
67
|
+
holdout: # recorded only: is the dip seen again in data that did not set its timing?
|
|
68
|
+
min_transits_each: 2 # dips needed in each half; fewer in either is unmeasured
|
|
69
|
+
min_snr: 3 # seen again: held-out depth at least this many times the transit-free scatter
|
|
70
|
+
depth_ratio: [0.5, 2.0] # ... and within this factor of the depth fitted on the other half
|
|
71
|
+
expect_snr: 5 # "missing" is only called when the dip should have been at least this plain
|
|
72
|
+
absent_snr: 1 # ... and measures below this
|
|
73
|
+
max_period_drift: 0.003 # the kept half must give the same period back (same tolerance as the known-object match)
|
|
74
|
+
null_phases: [0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9] # transit-free phases (0.5 left out)
|
|
75
|
+
min_null_points: 8 # fewer measurable transit-free phases: unmeasured
|
|
76
|
+
eccentricity:
|
|
77
|
+
flag_e_min: 0.3 # information only: flag when the 1-sigma lower bound of the needed eccentricity exceeds this
|
|
78
|
+
ffi_tce: # information only: NASA full-frame detection reports, period ratios tried
|
|
79
|
+
max_n_m: 10
|
|
80
|
+
tolerance: 0.003
|
|
81
|
+
kill_tests: [pixel.host, stellar.density_match, shape.radius_ratio, vet.leo]
|
|
82
|
+
record_only_tests: [pixel.aperture_growth, holdout.split_half] # run and shown, never part of the verdict
|
|
83
|
+
rule_out_tests: # a warning rules the candidate out; no warning or no data changes nothing
|
|
84
|
+
gaia.eb_neighbour: flag
|
|
85
|
+
gaia.rv_epoch_scatter: flag
|
|
86
|
+
gaia.companion: heavy_companion
|
|
87
|
+
rule_out_min_companion_mjup: 13 # the deuterium-burning limit: heavier is a brown dwarf or a star, not a planet
|
|
88
|
+
validate_tests: [fpp.triceratops]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Exocomet (asymmetric single-dip) search, gates v1. Frozen once registered: never edit; add v2.
|
|
2
|
+
# Set 2026-11-26 before the real sample was examined, except where noted. Source of the SES cutoff:
|
|
3
|
+
# upside-down null run of the same search on the same 12,351 A/F stars (see searches/exocomets-2026-11-26/).
|
|
4
|
+
comet:
|
|
5
|
+
metrics_ses_min: 6.5 # events below this are not measured further
|
|
6
|
+
common_mode_win_d: 0.5 # C1: other stars' events (SES>=5) on the same sector+camera within +-0.5 d
|
|
7
|
+
common_mode_p_min: 0.01 # C1: Poisson p of that many coincidences must be >= 0.01
|
|
8
|
+
coverage_min: 0.6 # C2: >= 60% of 30-min bins filled in the day before and the day after
|
|
9
|
+
edge_min_d: 0.5 # C3: >= 0.5 d from a sector edge or a gap > 0.5 d
|
|
10
|
+
desat_min_d: 0.25 # C4: no momentum dump within 0.25 d of the dip's start
|
|
11
|
+
flag_frac_max: 0.1 # C4: <= 10% of cadences in the dip flagged (pointing, scattered light...)
|
|
12
|
+
bkg_z_max: 4 # C5: background shift during the dip < 4x scatter of dip-length averages
|
|
13
|
+
cen_z_max: 5 # C6: centroid shift < 5x scatter of dip-length averages
|
|
14
|
+
sap_ratio: [0.5, 2.0] # C7: dip also in the raw SAP flux (SAP/PDC, crowding-corrected)
|
|
15
|
+
bump_sig_max: 5 # C8: no upward spike (flare) > 5 sigma within 1 d
|
|
16
|
+
depth_max: 0.05 # P1: depth <= 5% (comet dips seen so far: 0.03%-20%; RZ Psc up to 20% is a K star)
|
|
17
|
+
dchi2_rev_min: 9 # S1: comet shape beats its own time-reverse by dchi2 >= 9 (sharp ingress, slow egress)
|
|
18
|
+
repeat_ses_frac: 0.5 # R1: other dips on the same star with the same shape and >= 50% of this SES...
|
|
19
|
+
repeat_max: 1 # R1: ... at most 1 (a train of similar dips is an eclipsing binary, not a comet).
|
|
20
|
+
# Added after the first combined real+null pass: an eclipsing A star (HIP 101260)
|
|
21
|
+
# passed every other gate. Applied to the null run identically.
|
|
22
|
+
ses_min: 52.1 # detection cutoff = maximum SES of the upside-down null after all gates (52.06,
|
|
23
|
+
# TIC 231061242 s3, a flipped flare). Conservative: flipped flares look comet-shaped.
|