Commit 178b5fb3 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

added get_l1data

parent b569383e
......@@ -98,6 +98,10 @@ class CsstMscData(CsstData):
except Exception as e:
print(e)
def get_l1data(self, imgtype):
assert imgtype in ["sci", "flag", "weight"]
return self._l1img_types[imgtype]
class CsstMscImgData(CsstMscData):
def __init__(self, priHDU, imgHDU, **kwargs):
......
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