Commit 4368cf57 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 263564e9
......@@ -165,7 +165,7 @@ class CsstMscInstrumentProc(CsstProcessor):
img = raw.deepcopy(name="SCI", data=self.__img.astype(np.float32))
wht = raw.deepcopy(name="WHT", data=self.__wht.astype(np.float32))
flg = raw.deepcopy(name="FLG", data=self.__flg.astype(np.float32))
flg = raw.deepcopy(name="FLG", data=self.__flg.astype(np.uint16))
img.set_keyword("FILENAME", img.get_keyword("FILENAME", hdu=0).replace("_raw", "_img"), hdu=0)
wht.set_keyword("FILENAME", wht.get_keyword("FILENAME", hdu=0).replace("_raw", "_wht"), hdu=0)
flg.set_keyword("FILENAME", flg.get_keyword("FILENAME", hdu=0).replace("_raw", "_flg"), hdu=0)
......
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