Skip to content

Commit

Permalink
Update thresholds for hostless detection (#895)
Browse files Browse the repository at this point in the history
* Bump requirement versions

* Update thresholds for hostless detection
  • Loading branch information
JulienPeloton authored Oct 9, 2024
1 parent 06b5603 commit a90e6ce
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 @@ -117,8 +117,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()

# load hostless IDs
Expand Down

0 comments on commit a90e6ce

Please sign in to comment.