Commit db048085 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

add compute_ra_dec_range

parent 8b09e30e
......@@ -112,8 +112,7 @@ def dfs_heapix_sql_condition(ra, dec, radius, ra_col = 'ra', dec_col = 'dec', br
return whereSql
def compute_ra_dec_range(hdulist):
header = hdulist[1].header
def compute_ra_dec_range(header):
fits_wcs = wcs.WCS(header)
# Get the shape of the data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment