From 4dfd0268934a201120145d4fc137e6e2182f6de6 Mon Sep 17 00:00:00 2001 From: Timofei Pshenichnyy <93309519+Knispel2@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:35:10 +0300 Subject: [PATCH] The restrictions of the observation area have been updated (#174) --- fink_filters/filter_anomaly_notification/filter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fink_filters/filter_anomaly_notification/filter.py b/fink_filters/filter_anomaly_notification/filter.py index bdde399..28adc11 100755 --- a/fink_filters/filter_anomaly_notification/filter.py +++ b/fink_filters/filter_anomaly_notification/filter.py @@ -64,7 +64,7 @@ def anomaly_notification_( If this is True, only objects from the area bounded by the following coordinates are considered: 1) delta <= 20° - 2) alpha ∈ (0°, 60°)⋃(340°, 360°) + 2) alpha ∈ (160°, 240°) history_period: int Time period in days for which the number of references is calculated @@ -127,7 +127,7 @@ def anomaly_notification_( """ # Filtering by coordinates if cut_coords: - df_proc = df_proc.filter('dec <= 20 AND (ra <= 60 OR ra >= 340)') + df_proc = df_proc.filter('dec <= 20 AND (ra >= 160 AND ra <= 240)') # We need to know the total number of objects per night which satisfy the condition on coordinates cut_count = df_proc.count() if cut_count == 0: @@ -189,7 +189,7 @@ def anomaly_notification_( (of the objects in the sky area) Sky area: 1) delta <= 20° - 2) alpha ∈ (0°, 60°)⋃(340°, 360°) + 2) alpha ∈ (160°, 240°) Total number of objects per night in the area: {cut_count}. ''' if send_to_slack: