Skip to content

Commit 73a7574

Browse files
New module to isolate static transients (#567)
* New module to isolate static transients * Update author list * Doc and naming * Doc
1 parent 3a50cd5 commit 73a7574

File tree

5 files changed

+513
-3
lines changed

5 files changed

+513
-3
lines changed

.ruff.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ignore = [
4444
"D400", "D401", "D100", "D102", "D103", "D104", "D415", "D419", "D301",
4545
"E731",
4646
"N812", "N806", "N803",
47-
"PD901",
4847
"PLR0913"
4948
]
5049

fink_science/ztf/hostless_detection/processor.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,17 @@ def run_potential_hostless(
229229
science_stamp, template_stamp
230230
)
231231
)
232-
kstest_results.append([kstest_science, kstest_template, is_processed_true])
232+
kstest_results.append([
233+
kstest_science,
234+
kstest_template,
235+
is_processed_true,
236+
])
233237
else:
234-
kstest_results.append([default_result, default_result, is_processed_false])
238+
kstest_results.append([
239+
default_result,
240+
default_result,
241+
is_processed_false,
242+
])
235243
else:
236244
kstest_results.append([default_result, default_result, is_processed_false])
237245
return pd.Series(kstest_results)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Features for static transients
2+
3+
This module is based on the work of
4+
1. https://ui.adsabs.harvard.edu/abs/2020ApJ...904...35P/abstract
5+
2. https://ui.adsabs.harvard.edu/abs/2020ApJ...895...32F/abstract
6+
3. https://zenodo.org/records/4054129
7+
8+
we identified 6 new features to add:
9+
1. `faint`: `magpsf` is currently fainter than 19.8, or the source had a very recent detection fainter than 19.
10+
2. `pointunderneath`: is likely sitting on top of or blended with a star in Pan-STARRS.
11+
3. `positivesubtraction`: is brighter than the template image.
12+
4. `real`: is likely a genuine astrophysical transient and not an artifact.
13+
5. `stationary`: is not a moving source.
14+
6. `brightstar`: is likely contaminated by a nearby bright star.
15+
7. `variablesource`: is likely a variable star
16+
17+
Note that what is called `rock` in the initial filter is not necessary here as we already provide a column `roid` to assess the asteroid nature of an object.

fink_science/ztf/transient_features/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)