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:
parent
709918571f
commit
d346bbadbc
@ -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
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
views.py
2
views.py
@ -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
|
||||||
# ****************************************************************
|
# ****************************************************************
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user