pyAethra 0.1.0__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.
Files changed (30) hide show
  1. pyaethra-0.1.0/.gitignore +9 -0
  2. pyaethra-0.1.0/LICENSE +21 -0
  3. pyaethra-0.1.0/PKG-INFO +227 -0
  4. pyaethra-0.1.0/README.md +194 -0
  5. pyaethra-0.1.0/examples/config.yaml +37 -0
  6. pyaethra-0.1.0/examples/example-data/ulwdc1_010_W149.txt +38568 -0
  7. pyaethra-0.1.0/examples/example-data/ulwdc1_010_Z087.txt +870 -0
  8. pyaethra-0.1.0/examples/example-data/ulwdc1_011_W149.txt +38568 -0
  9. pyaethra-0.1.0/examples/example-data/ulwdc1_011_Z087.txt +870 -0
  10. pyaethra-0.1.0/examples/example-data/ulwdc1_012_W149.txt +38568 -0
  11. pyaethra-0.1.0/examples/example-data/ulwdc1_012_Z087.txt +870 -0
  12. pyaethra-0.1.0/examples/example-data/ulwdc1_013_W149.txt +38568 -0
  13. pyaethra-0.1.0/examples/example-data/ulwdc1_013_Z087.txt +870 -0
  14. pyaethra-0.1.0/examples/example-data/ulwdc1_014_W149.txt +38568 -0
  15. pyaethra-0.1.0/examples/example-data/ulwdc1_014_Z087.txt +870 -0
  16. pyaethra-0.1.0/examples/example_run.ipynb +290 -0
  17. pyaethra-0.1.0/pyproject.toml +87 -0
  18. pyaethra-0.1.0/src/pyAethra/__about__.py +5 -0
  19. pyaethra-0.1.0/src/pyAethra/__init__.py +80 -0
  20. pyaethra-0.1.0/src/pyAethra/achromatic.py +121 -0
  21. pyaethra-0.1.0/src/pyAethra/cli.py +122 -0
  22. pyaethra-0.1.0/src/pyAethra/config.py +40 -0
  23. pyaethra-0.1.0/src/pyAethra/detection.py +151 -0
  24. pyaethra-0.1.0/src/pyAethra/io.py +171 -0
  25. pyaethra-0.1.0/src/pyAethra/pipeline.py +236 -0
  26. pyaethra-0.1.0/src/pyAethra/pspl.py +134 -0
  27. pyaethra-0.1.0/src/pyAethra/schema.py +25 -0
  28. pyaethra-0.1.0/src/pyAethra/seasons.py +78 -0
  29. pyaethra-0.1.0/src/pyAethra/variability.py +151 -0
  30. pyaethra-0.1.0/tests/test_pipeline.py +197 -0
@@ -0,0 +1,9 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ .DS_Store
4
+ .idea/
5
+ .pytest_cache/
6
+ dist/
7
+ build/
8
+ *.egg-info/
9
+ .venv/
pyaethra-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Aikaterini Vandorou
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.
@@ -0,0 +1,227 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyAethra
3
+ Version: 0.1.0
4
+ Summary: Automated Event Tracker and Characterizer for Roman Alerts
5
+ Project-URL: Homepage, https://github.com/rges-pit/pyAethra
6
+ Project-URL: Repository, https://github.com/rges-pit/pyAethra
7
+ Project-URL: Issues, https://github.com/rges-pit/pyAethra/issues
8
+ Author: Aikaterini Vandorou
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: Roman,astronomy,exoplanets,lightcurves,microlensing
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
21
+ Requires-Python: >=3.8
22
+ Requires-Dist: astropy>=5.0
23
+ Requires-Dist: numpy>=1.21
24
+ Requires-Dist: pandas>=1.3
25
+ Requires-Dist: pyyaml>=6.0
26
+ Requires-Dist: scipy>=1.7
27
+ Provides-Extra: dev
28
+ Requires-Dist: pytest>=7.0; extra == 'dev'
29
+ Requires-Dist: ruff>=0.1; extra == 'dev'
30
+ Provides-Extra: parquet
31
+ Requires-Dist: pyarrow>=7.0; extra == 'parquet'
32
+ Description-Content-Type: text/markdown
33
+
34
+ # pyAethra
35
+
36
+ **A**utomated **E**vent **T**racker and c**H**aracterizer for **R**oman **A**lerts
37
+
38
+ A configurable pipeline for detecting **microlensing events** in photometric
39
+ light curves. It works with any dataset that has time, magnitude, and
40
+ magnitude-error columns (column names are configurable), automatically handling
41
+ file-format detection, multi-object grouping, observing-season splitting, and
42
+ multi-band ("achromatic") vetoes.
43
+
44
+ ## What it does
45
+
46
+ For each object the pipeline:
47
+
48
+ 1. Splits the light curve into observing **seasons** (by time gaps).
49
+ 2. Scans each season for a brightening **bump** (rolling weighted-flux SNR) and
50
+ checks the curve is **non-flat** (reduced χ² + consecutive outliers).
51
+ 3. Applies three **vetoes** to reject variable stars:
52
+ - **periodic** — significant Lomb–Scargle periodicity in off-event seasons,
53
+ - **recurrent** — a comparable bump repeating in other seasons,
54
+ - **chromatic** — the brightening disagrees across photometric bands.
55
+ 4. Fits a **point-source point-lens (PSPL)** model to surviving candidates and
56
+ flags short-timescale **free-floating-planet (FFP)** candidates.
57
+
58
+ The result is a tidy `pandas.DataFrame`, one row per object, with the columns
59
+ listed in [`OUTPUT_COLUMNS`](src/pyAethra/schema.py).
60
+
61
+ ## Installation
62
+ for the most updated version:
63
+
64
+ ```bash
65
+ git clone https://github.com/rges-pit/pyAethra.git
66
+ cd pyAethra
67
+ pip install -e .
68
+ ```
69
+ (Note: don't forget the . after the -e)
70
+
71
+ or stable version:
72
+
73
+ ```
74
+ pip install pyAethra
75
+ ```
76
+ Reading Parquet input needs the optional extra:
77
+
78
+ ```bash
79
+ pip install -e ".[parquet]"
80
+ ```
81
+
82
+ For development (tests + linting):
83
+
84
+ ```bash
85
+ pip install -e ".[dev]"
86
+ ```
87
+
88
+ Requires Python ≥ 3.8. Core dependencies: NumPy, pandas, SciPy, Astropy.
89
+
90
+ ## Quick start
91
+
92
+ ```python
93
+ from pyAethra import load_and_run
94
+
95
+ config = {
96
+ "time_col": "bjd",
97
+ "mag_col": "mag",
98
+ "err_col": "mag_err",
99
+ "group_col": "name", # column identifying each object in the table
100
+ }
101
+
102
+ results = load_and_run("data.parquet", config)
103
+ candidates = results[results["is_candidate"]]
104
+ ```
105
+
106
+ `load_and_run` auto-dispatches on the input type:
107
+
108
+ | `input_path` | Interpreted as |
109
+ |---------------------------------------------|----------------|
110
+ | `pd.DataFrame` | One table; objects split by `group_col` |
111
+ | `"data.parquet"` / `.fits` / `.csv` / `.txt`| One table file |
112
+ | `"lc/*.txt"` (glob) | One light curve per matched file |
113
+ | `("lc/*_W149.txt", "lc/*_Z087.txt")` | Paired per-filter files matched by filename stem |
114
+
115
+ You can also call the per-DataFrame driver directly:
116
+
117
+ ```python
118
+ from pyAethra import run_pipeline_from_dataframe
119
+ results = run_pipeline_from_dataframe(df, config)
120
+ ```
121
+
122
+ ## Configuration from a YAML file
123
+
124
+ Rather than writing the `config` dict inline, you can keep all settings in a
125
+ YAML file and version it alongside your results — so every run records exactly
126
+ how it was configured. See [`examples/config.yaml`](examples/config.yaml) for a
127
+ fully commented template.
128
+
129
+ ```python
130
+ from pyAethra import load_config, load_and_run
131
+
132
+ config = load_config("config.yaml")
133
+ results = load_and_run("data.parquet", config)
134
+ ```
135
+
136
+ Keys you omit fall back to the built-in defaults; YAML `null` maps to Python
137
+ `None` (e.g. `group_col: null` means one object per file).
138
+
139
+ Run `pyAethra --help` for the full option list.
140
+
141
+ ## Configuration reference
142
+
143
+ Passed as the `config` dict (or the matching CLI flag).
144
+
145
+ ### Required
146
+
147
+ | Key | Meaning |
148
+ |------------|----------------------------------|
149
+ | `time_col` | Time column (e.g. BJD) |
150
+ | `mag_col` | Magnitude column |
151
+ | `err_col` | Magnitude-uncertainty column |
152
+
153
+ ### Grouping & input parsing
154
+
155
+ | Key | Default | Meaning |
156
+ |------------|---------|---------|
157
+ | `group_col`| `None` | Column whose unique values identify each source. `None` = one object per file/DataFrame. |
158
+ | `sep` | `r"\s+"`| Separator regex for text files (`","` for CSV). |
159
+ | `header` | `None` | Header row index for text files; `None` = no header. |
160
+ | `columns` | `None` | Column names to assign when there is no header row. |
161
+
162
+ ### Filters / achromatic test
163
+
164
+ | Key | Default | Meaning |
165
+ |--------------------|----------------|---------|
166
+ | `filter_col` | `None` | Band column. `None` skips the achromatic test. |
167
+ | `target_filter` | `"F146"` | Band used for event detection. |
168
+ | `primary_filter` | `"F146"` | Primary band in the achromatic test. |
169
+ | `secondary_filters`| `None` | One band (str) or several (list) to compare against. |
170
+
171
+ ### Tuning
172
+
173
+ | Key | Default | Meaning |
174
+ |-----------------------|---------|---------|
175
+ | `min_points` | `10` | Minimum points per season to analyze. |
176
+ | `season_gap_days` | `100` | Day gap that separates observing seasons. |
177
+ | `ffp_tE_max` | `2.0` | Max tE (days) to flag a free-floating-planet candidate. |
178
+ | `good_pspl_chi2` | `2.5` | Reduced-χ² threshold for an acceptable PSPL fit. |
179
+ | `chromatic_min_points`| `5` | Min points per band for the achromatic test. |
180
+ | `fap_threshold` | `0.01` | False-alarm threshold for periodicity. **See Known quirks.** |
181
+
182
+ ## Output columns
183
+
184
+ | Column | Type | Description |
185
+ |---|---|---|
186
+ | `name` | str | Object identifier |
187
+ | `is_candidate` | bool | Passed bump test and all three vetoes |
188
+ | `is_ffp_candidate` | bool | Candidate with tE < `ffp_tE_max` days |
189
+ | `is_variable_star` | bool | Passed bump test but rejected by at least one veto |
190
+ | `veto_periodic` | bool | Rejected by periodicity veto |
191
+ | `veto_recurrent` | bool | Rejected by recurrent bump veto |
192
+ | `veto_chromatic` | bool | Rejected by chromatic veto |
193
+ | `is_achromatic` | bool/nan | Result of achromatic test (`nan` = inconclusive) |
194
+ | `best_season` | int | Season ID with the highest bump SNR |
195
+ | `is_flat` | bool | Lightcurve is consistent with a flat baseline |
196
+ | `chi2_flat` | float | χ² of flat model fit |
197
+ | `dof_flat` | int | Degrees of freedom |
198
+ | `chi2_red_flat` | float | Reduced χ² of flat model |
199
+ | `bump_flag` | bool | Rolling-SNR bump detected |
200
+ | `bump_snr` | float | Peak bump SNR |
201
+ | `t0_fit` | float | PSPL best-fit peak time (HJD − 2450000) |
202
+ | `u0_fit` | float | PSPL best-fit impact parameter |
203
+ | `tE_fit` | float | PSPL best-fit Einstein crossing time (days) |
204
+ | `chi2_red_pspl` | float | Reduced χ² of PSPL fit |
205
+ | `baseline_mag` | float | Median baseline magnitude |
206
+ | `peak_mag` | float | Peak (brightest) magnitude |
207
+
208
+ ## Package layout
209
+
210
+ ```
211
+ src/pyAethra/
212
+ ├── __init__.py # public API
213
+ ├── schema.py # OUTPUT_COLUMNS
214
+ ├── config.py # load_config (YAML → config dict)
215
+ ├── detection.py # outlier / flatness / bump detection + recurrent veto
216
+ ├── variability.py # non-flatness + Lomb–Scargle periodicity veto
217
+ ├── achromatic.py # multi-band achromaticity test
218
+ ├── pspl.py # PSPL magnification model + fitting
219
+ ├── seasons.py # season splitting and per-season scan
220
+ ├── pipeline.py # run_pipeline_from_dataframe (main driver)
221
+ ├── io.py # file loaders + load_and_run dispatcher
222
+ └── cli.py # `pyAethra` console script
223
+ ```
224
+
225
+ ## License
226
+
227
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,194 @@
1
+ # pyAethra
2
+
3
+ **A**utomated **E**vent **T**racker and c**H**aracterizer for **R**oman **A**lerts
4
+
5
+ A configurable pipeline for detecting **microlensing events** in photometric
6
+ light curves. It works with any dataset that has time, magnitude, and
7
+ magnitude-error columns (column names are configurable), automatically handling
8
+ file-format detection, multi-object grouping, observing-season splitting, and
9
+ multi-band ("achromatic") vetoes.
10
+
11
+ ## What it does
12
+
13
+ For each object the pipeline:
14
+
15
+ 1. Splits the light curve into observing **seasons** (by time gaps).
16
+ 2. Scans each season for a brightening **bump** (rolling weighted-flux SNR) and
17
+ checks the curve is **non-flat** (reduced χ² + consecutive outliers).
18
+ 3. Applies three **vetoes** to reject variable stars:
19
+ - **periodic** — significant Lomb–Scargle periodicity in off-event seasons,
20
+ - **recurrent** — a comparable bump repeating in other seasons,
21
+ - **chromatic** — the brightening disagrees across photometric bands.
22
+ 4. Fits a **point-source point-lens (PSPL)** model to surviving candidates and
23
+ flags short-timescale **free-floating-planet (FFP)** candidates.
24
+
25
+ The result is a tidy `pandas.DataFrame`, one row per object, with the columns
26
+ listed in [`OUTPUT_COLUMNS`](src/pyAethra/schema.py).
27
+
28
+ ## Installation
29
+ for the most updated version:
30
+
31
+ ```bash
32
+ git clone https://github.com/rges-pit/pyAethra.git
33
+ cd pyAethra
34
+ pip install -e .
35
+ ```
36
+ (Note: don't forget the . after the -e)
37
+
38
+ or stable version:
39
+
40
+ ```
41
+ pip install pyAethra
42
+ ```
43
+ Reading Parquet input needs the optional extra:
44
+
45
+ ```bash
46
+ pip install -e ".[parquet]"
47
+ ```
48
+
49
+ For development (tests + linting):
50
+
51
+ ```bash
52
+ pip install -e ".[dev]"
53
+ ```
54
+
55
+ Requires Python ≥ 3.8. Core dependencies: NumPy, pandas, SciPy, Astropy.
56
+
57
+ ## Quick start
58
+
59
+ ```python
60
+ from pyAethra import load_and_run
61
+
62
+ config = {
63
+ "time_col": "bjd",
64
+ "mag_col": "mag",
65
+ "err_col": "mag_err",
66
+ "group_col": "name", # column identifying each object in the table
67
+ }
68
+
69
+ results = load_and_run("data.parquet", config)
70
+ candidates = results[results["is_candidate"]]
71
+ ```
72
+
73
+ `load_and_run` auto-dispatches on the input type:
74
+
75
+ | `input_path` | Interpreted as |
76
+ |---------------------------------------------|----------------|
77
+ | `pd.DataFrame` | One table; objects split by `group_col` |
78
+ | `"data.parquet"` / `.fits` / `.csv` / `.txt`| One table file |
79
+ | `"lc/*.txt"` (glob) | One light curve per matched file |
80
+ | `("lc/*_W149.txt", "lc/*_Z087.txt")` | Paired per-filter files matched by filename stem |
81
+
82
+ You can also call the per-DataFrame driver directly:
83
+
84
+ ```python
85
+ from pyAethra import run_pipeline_from_dataframe
86
+ results = run_pipeline_from_dataframe(df, config)
87
+ ```
88
+
89
+ ## Configuration from a YAML file
90
+
91
+ Rather than writing the `config` dict inline, you can keep all settings in a
92
+ YAML file and version it alongside your results — so every run records exactly
93
+ how it was configured. See [`examples/config.yaml`](examples/config.yaml) for a
94
+ fully commented template.
95
+
96
+ ```python
97
+ from pyAethra import load_config, load_and_run
98
+
99
+ config = load_config("config.yaml")
100
+ results = load_and_run("data.parquet", config)
101
+ ```
102
+
103
+ Keys you omit fall back to the built-in defaults; YAML `null` maps to Python
104
+ `None` (e.g. `group_col: null` means one object per file).
105
+
106
+ Run `pyAethra --help` for the full option list.
107
+
108
+ ## Configuration reference
109
+
110
+ Passed as the `config` dict (or the matching CLI flag).
111
+
112
+ ### Required
113
+
114
+ | Key | Meaning |
115
+ |------------|----------------------------------|
116
+ | `time_col` | Time column (e.g. BJD) |
117
+ | `mag_col` | Magnitude column |
118
+ | `err_col` | Magnitude-uncertainty column |
119
+
120
+ ### Grouping & input parsing
121
+
122
+ | Key | Default | Meaning |
123
+ |------------|---------|---------|
124
+ | `group_col`| `None` | Column whose unique values identify each source. `None` = one object per file/DataFrame. |
125
+ | `sep` | `r"\s+"`| Separator regex for text files (`","` for CSV). |
126
+ | `header` | `None` | Header row index for text files; `None` = no header. |
127
+ | `columns` | `None` | Column names to assign when there is no header row. |
128
+
129
+ ### Filters / achromatic test
130
+
131
+ | Key | Default | Meaning |
132
+ |--------------------|----------------|---------|
133
+ | `filter_col` | `None` | Band column. `None` skips the achromatic test. |
134
+ | `target_filter` | `"F146"` | Band used for event detection. |
135
+ | `primary_filter` | `"F146"` | Primary band in the achromatic test. |
136
+ | `secondary_filters`| `None` | One band (str) or several (list) to compare against. |
137
+
138
+ ### Tuning
139
+
140
+ | Key | Default | Meaning |
141
+ |-----------------------|---------|---------|
142
+ | `min_points` | `10` | Minimum points per season to analyze. |
143
+ | `season_gap_days` | `100` | Day gap that separates observing seasons. |
144
+ | `ffp_tE_max` | `2.0` | Max tE (days) to flag a free-floating-planet candidate. |
145
+ | `good_pspl_chi2` | `2.5` | Reduced-χ² threshold for an acceptable PSPL fit. |
146
+ | `chromatic_min_points`| `5` | Min points per band for the achromatic test. |
147
+ | `fap_threshold` | `0.01` | False-alarm threshold for periodicity. **See Known quirks.** |
148
+
149
+ ## Output columns
150
+
151
+ | Column | Type | Description |
152
+ |---|---|---|
153
+ | `name` | str | Object identifier |
154
+ | `is_candidate` | bool | Passed bump test and all three vetoes |
155
+ | `is_ffp_candidate` | bool | Candidate with tE < `ffp_tE_max` days |
156
+ | `is_variable_star` | bool | Passed bump test but rejected by at least one veto |
157
+ | `veto_periodic` | bool | Rejected by periodicity veto |
158
+ | `veto_recurrent` | bool | Rejected by recurrent bump veto |
159
+ | `veto_chromatic` | bool | Rejected by chromatic veto |
160
+ | `is_achromatic` | bool/nan | Result of achromatic test (`nan` = inconclusive) |
161
+ | `best_season` | int | Season ID with the highest bump SNR |
162
+ | `is_flat` | bool | Lightcurve is consistent with a flat baseline |
163
+ | `chi2_flat` | float | χ² of flat model fit |
164
+ | `dof_flat` | int | Degrees of freedom |
165
+ | `chi2_red_flat` | float | Reduced χ² of flat model |
166
+ | `bump_flag` | bool | Rolling-SNR bump detected |
167
+ | `bump_snr` | float | Peak bump SNR |
168
+ | `t0_fit` | float | PSPL best-fit peak time (HJD − 2450000) |
169
+ | `u0_fit` | float | PSPL best-fit impact parameter |
170
+ | `tE_fit` | float | PSPL best-fit Einstein crossing time (days) |
171
+ | `chi2_red_pspl` | float | Reduced χ² of PSPL fit |
172
+ | `baseline_mag` | float | Median baseline magnitude |
173
+ | `peak_mag` | float | Peak (brightest) magnitude |
174
+
175
+ ## Package layout
176
+
177
+ ```
178
+ src/pyAethra/
179
+ ├── __init__.py # public API
180
+ ├── schema.py # OUTPUT_COLUMNS
181
+ ├── config.py # load_config (YAML → config dict)
182
+ ├── detection.py # outlier / flatness / bump detection + recurrent veto
183
+ ├── variability.py # non-flatness + Lomb–Scargle periodicity veto
184
+ ├── achromatic.py # multi-band achromaticity test
185
+ ├── pspl.py # PSPL magnification model + fitting
186
+ ├── seasons.py # season splitting and per-season scan
187
+ ├── pipeline.py # run_pipeline_from_dataframe (main driver)
188
+ ├── io.py # file loaders + load_and_run dispatcher
189
+ └── cli.py # `pyAethra` console script
190
+ ```
191
+
192
+ ## License
193
+
194
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,37 @@
1
+ # Example pyAethra pipeline configuration.
2
+ #
3
+ # Use it from the command line:
4
+ # pyAethra data.parquet --config config.yaml -o results.csv
5
+ #
6
+ # Or in Python:
7
+ # from pyAethra import load_config, load_and_run
8
+ # cfg = load_config("config.yaml")
9
+ # results = load_and_run("data.parquet", cfg)
10
+ #
11
+ # Any key you omit falls back to the pipeline's built-in default. YAML `null`
12
+ # becomes Python None (e.g. `group_col: null` = one object per file).
13
+
14
+ # ── Required: column names ─────────────────────────────────────────────
15
+ time_col: bjd # time column (e.g. barycentric Julian date)
16
+ mag_col: mag # magnitude column
17
+ err_col: mag_err # magnitude-uncertainty column
18
+
19
+ # ── Grouping & input parsing ───────────────────────────────────────────
20
+ group_col: name # column identifying each object; null for one object per file
21
+ sep: '\s+' # separator regex for text files (default: whitespace)
22
+ #header: 0 # header row index for text files (default: none)
23
+ columns: [bjd, mag, mag_err] # column names when the file has no header
24
+
25
+ # ── Filters / achromatic test ──────────────────────────────────────────
26
+ filter_col: filt # band column; null to skip the achromatic test
27
+ target_filter: W149
28
+ primary_filter: W149
29
+ secondary_filters: [Z087]
30
+
31
+ # ── Tuning ─────────────────────────────────────────────────────────────
32
+ min_points: 10
33
+ season_gap_days: 100
34
+ ffp_tE_max: 2.0
35
+ good_pspl_chi2: 2.5
36
+ chromatic_min_points: 5
37
+ fap_threshold: 0.01