added Virgo and Coma clusters to the mask with the radius 2.5 degrees; sorting nearby sources by angular separation

This commit is contained in:
Никита Тырин 2025-05-28 10:47:30 +03:00
parent 709918571f
commit d346bbadbc
2 changed files with 11 additions and 1 deletions

View File

@ -181,6 +181,16 @@ class Command(BaseCommand):
[ [
{"RAdeg": 279.9804336, "DEdeg": 5.0669542, "flux_bin": 3}, {"RAdeg": 279.9804336, "DEdeg": 5.0669542, "flux_bin": 3},
{"RAdeg": 266.5173685, "DEdeg": -29.1252321, "flux_bin": 3}, {"RAdeg": 266.5173685, "DEdeg": -29.1252321, "flux_bin": 3},
{
"RAdeg": 194.9350000,
"DEdeg": 27.9124722,
"flux_bin": 4,
}, # Coma Cluster, 2.5 degrees
{
"RAdeg": 187.6991667,
"DEdeg": 12.3852778,
"flux_bin": 4,
}, # Virgo cluster, 2.5 degrees
] ]
) )

View File

@ -414,7 +414,7 @@ class UpperLimitView(APIView):
"separation_as": separation.arcsecond, "separation_as": separation.arcsecond,
} }
) )
nearby_sources.sort(key=lambda src: src["separation_as"])
# REGION IMAGE SERVING # REGION IMAGE SERVING
# **************************************************************** # ****************************************************************