Skip to content

Commit

Permalink
Update thresholds for hostless detection
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Oct 7, 2024
1 parent 19b7c89 commit 0a86e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/hostless_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def main():
F.col("cutoutTemplate.stampData").alias("cutoutTemplate"),
]

cond_science = df["kstest_static"][0] >= 0
cond_template = df["kstest_static"][1] >= 0
cond_science = df["kstest_static"][0] <= 0.5
cond_template = df["kstest_static"][1] <= 0.85
pdf = df.filter(cond_science).filter(cond_template).select(cols_).toPandas()

# Loop over matches & send to Telegram
Expand Down

0 comments on commit 0a86e1c

Please sign in to comment.