Commit 11d00f8d authored by niejuzi's avatar niejuzi
Browse files

modify

parent 1d33af51
...@@ -164,22 +164,29 @@ class CsstMscDataManager: ...@@ -164,22 +164,29 @@ class CsstMscDataManager:
self._exp_start, self._exp_stop, self._exp_id, ccd_id, suffix, ext) self._exp_start, self._exp_stop, self._exp_id, ccd_id, suffix, ext)
return os.path.join(self.dir_l1, fn) return os.path.join(self.dir_l1, fn)
def pc_combined_image(self, suffix="img", ext="fits"): def pc_combined_file(self, suffix="img", ext="fits"):
""" combined images """ combined images
Parameters Parameters
---------- ----------
suffix: suffix:
{"img", "wht", "flg", "cat"} {"img", "wht", "flg", "cat", "head"}
ext: ext:
{"fits", } {"fits", "head", "ahead" }
Returns Returns
------- -------
combined image path combined image path
""" """
fn = "combined_" + "{}.{}".format(suffix, ext) if self.ver_sim == "C3":
fn = "{}_{}_{}_{}_{}.{}".format(
self._instrument, self._survey,
self._exp_start, self._exp_id, suffix, ext)
elif self.ver_sim == "C5.1":
fn = "{}_{}_{}_SCI_{}_{}_{}_{}.{}".format(
self._telescope, self._instrument, self._survey,
self._exp_start, self._exp_stop, self._exp_id, suffix, ext)
return os.path.join(self.dir_l1, fn) return os.path.join(self.dir_l1, fn)
@property @property
...@@ -187,16 +194,16 @@ class CsstMscDataManager: ...@@ -187,16 +194,16 @@ class CsstMscDataManager:
""" reference catalog """ """ reference catalog """
return os.path.join(self.dir_l1, "ref.cat") return os.path.join(self.dir_l1, "ref.cat")
@property
def pc_radecoff(self):
""" plot coordinate diff between obs and ref """
return os.path.join(self.dir_l1, "radec_off.png")
@property @property
def pc_check_fits(self): def pc_check_fits(self):
""" check fits """ """ check fits """
return os.path.join(self.dir_l1, "check.fits") return os.path.join(self.dir_l1, "check.fits")
@property
def pc_combined_head(self):
""" combined head """
return os.path.join(self.dir_l1, "combined_cat.head")
@property @property
def pc_combined_head_fits(self): def pc_combined_head_fits(self):
""" combined head (converted to) fits """ """ combined head (converted to) fits """
......
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