Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
added get_l1data
parent
b569383e
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst/msc/data.py
+4
-0
csst/msc/data.py
with
4 additions
and
0 deletions
+4
-0
csst/msc/data.py
+
4
-
0
View file @
178b5fb3
...
@@ -98,6 +98,10 @@ class CsstMscData(CsstData):
...
@@ -98,6 +98,10 @@ class CsstMscData(CsstData):
except
Exception
as
e
:
except
Exception
as
e
:
print
(
e
)
print
(
e
)
def
get_l1data
(
self
,
imgtype
):
assert
imgtype
in
[
"sci"
,
"flag"
,
"weight"
]
return
self
.
_l1img_types
[
imgtype
]
class
CsstMscImgData
(
CsstMscData
):
class
CsstMscImgData
(
CsstMscData
):
def
__init__
(
self
,
priHDU
,
imgHDU
,
**
kwargs
):
def
__init__
(
self
,
priHDU
,
imgHDU
,
**
kwargs
):
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets