update
This commit is contained in:
25
views.py
25
views.py
@@ -124,16 +124,7 @@ class PixelAggregateView(APIView):
|
||||
|
||||
class UpperLimitView(APIView):
|
||||
"""
|
||||
Calclassic_count_ulate and return upper limits (UL, CRUL, FLUL) based on provided RA, DEC, and CL parameters.
|
||||
|
||||
Args:
|
||||
request: HTTP GET request containing 'ra', 'dec', and 'cl' query parameters.
|
||||
|
||||
Returns:
|
||||
Response object with JSON data containing calclassic_count_ulated UL, CRUL, and FLUL values.
|
||||
|
||||
Raises:
|
||||
ValueError if provided parameters are invalid.
|
||||
Calculate confidence bounds based on aperture photometry using classic and bayesian methods
|
||||
"""
|
||||
def get(self, request):
|
||||
|
||||
@@ -329,12 +320,12 @@ class UpperLimitView(APIView):
|
||||
|
||||
'FluxEstimate' : Flux,
|
||||
|
||||
'N' : N,
|
||||
'Nnpix' : Nnpix,
|
||||
'Bcounts' : Bcounts,
|
||||
'Bnpix' : Bnpix,
|
||||
'B' : B,
|
||||
'tsum' : tsum,
|
||||
't' : t
|
||||
# 'N' : N,
|
||||
# 'Nnpix' : Nnpix,
|
||||
# 'Bcounts' : Bcounts,
|
||||
# 'Bnpix' : Bnpix,
|
||||
# 'B' : B,
|
||||
# 'tsum' : tsum,
|
||||
# 't' : t
|
||||
|
||||
}, status=status.HTTP_200_OK)
|
Reference in New Issue
Block a user