Skip to content

Commit

Permalink
remove unused files and add magnitude rate condition
Browse files Browse the repository at this point in the history
  • Loading branch information
FusRoman committed Nov 20, 2023
1 parent ded2280 commit 50bf14e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 271 deletions.
19 changes: 0 additions & 19 deletions conf/svom_network.csv

This file was deleted.

8 changes: 6 additions & 2 deletions fink_filters/filter_svom_ft_tom/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
def gvom_filter(
rb: pd.Series,
magpsf: pd.Series,
mag_rate: pd.Series,
ra: pd.Series,
dec: pd.Series,
cdsxmatch: pd.Series,
Expand Down Expand Up @@ -129,12 +130,15 @@ def gvom_filter(
f_ecl = mask_north_ecl | mask_south_ecl

# bright alerts
f_brightness = magpsf <= 17.0
f_brightness = magpsf <= 18.0

# short living transient
f_short = jd - jdstarthist <= 5

f_gvom = f_bogus & f_class & f_short & f_brightness & f_gal & f_ecl
# fast transient
f_fast = mag_rate.abs() > 0.3

f_gvom = f_bogus & f_class & f_short & f_brightness & f_gal & f_ecl & f_fast
return f_gvom


Expand Down
249 changes: 0 additions & 249 deletions fink_filters/filter_svom_ft_tom/overlapping_skies.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ scipy

astropy
astroquery
astroplan

pandas
pyarrow
Expand Down

0 comments on commit 50bf14e

Please sign in to comment.