Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bo Zhang
csst
Commits
178b5fb3
Commit
178b5fb3
authored
Apr 07, 2022
by
BO ZHANG
🏀
Browse files
added get_l1data
parent
b569383e
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst/msc/data.py
View file @
178b5fb3
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment