Commit b5a65383 authored by niejuzi's avatar niejuzi
Browse files

update code

parent 12f448ca
...@@ -170,7 +170,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): ...@@ -170,7 +170,7 @@ class CsstProcMscPositionCalibration(CsstProcessor):
tbl2.header['EXTNAME'] = 'LDAC_OBJECTS' tbl2.header['EXTNAME'] = 'LDAC_OBJECTS'
return tbl1, tbl2 return tbl1, tbl2
def get_refcat(self, img_list, path_gaia, search_radius, silent=True,pm_correct=True): def get_refcat(self, img_list, path_gaia, search_radius, silent=True, pm_correct=True):
""" """
Get reference catalog for scamp. The reference cat is GAIA EDR3. Get reference catalog for scamp. The reference cat is GAIA EDR3.
...@@ -190,7 +190,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): ...@@ -190,7 +190,7 @@ class CsstProcMscPositionCalibration(CsstProcessor):
filename of the cross matched catalog: ref.cat filename of the cross matched catalog: ref.cat
""" """
outcat = self.dm.pc_ref_cat outcat = self.dm.pc_ref_cat
fnmae = self.dm.pc_combined_file("img","fits") fname = self.dm.pc_combined_file("img","fits")
hdu = fits.open(fname) hdu = fits.open(fname)
header1 = hdu[0].header header1 = hdu[0].header
header2 = hdu[1].header header2 = hdu[1].header
......
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