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
Liu Dezi
csst_msc_sim
Commits
0951bd39
Commit
0951bd39
authored
Mar 22, 2022
by
Xin Zhang
Browse files
fix header bug
parent
cc7d3507
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Config/Header/ImageHeader.py
View file @
0951bd39
...
...
@@ -273,7 +273,7 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointNum = '1', ra = 60, dec
h_prim
[
'EXPTIME'
]
=
exptime
# Define file types
file_type
=
{
'
M
S'
:
'sci'
,
'BIAS'
:
'zero'
,
'DARK'
:
'dark'
,
'FLAT'
:
'flat'
,
'CRS'
:
'cosmic_ray'
,
'CRD'
:
'cosmic_ray'
}
file_type
=
{
'S
CI
'
:
'sci'
,
'BIAS'
:
'zero'
,
'DARK'
:
'dark'
,
'FLAT'
:
'flat'
,
'CRS'
:
'cosmic_ray'
,
'CRD'
:
'cosmic_ray'
}
h_prim
[
'FILETYPE'
]
=
file_type
[
im_type
]
co
=
coord
.
SkyCoord
(
ra
,
dec
,
unit
=
'deg'
)
...
...
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