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
2ee61d93
Commit
2ee61d93
authored
Dec 13, 2023
by
Fang Yuedong
Browse files
add gitignore file
parent
462a281f
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
2ee61d93
build/*
CSSTSim.egg-info/*
dist/*
*.pyc
*.so
*disperse.c
*interp.c
\ No newline at end of file
ObservationSim/Config/Header/ImageHeader.py
View file @
2ee61d93
...
...
@@ -383,7 +383,7 @@ def generatePrimaryHeader(xlen = 9216, ylen = 9232, pointNum = '1', ra = 60, dec
# OBS_id = '1'+ obs_type[im_type] + str(int(project_cycle)) + str(int(run_counter)).rjust(2, '0') + pointNum.rjust(5,'0')
OBS_id
=
get_obs_id
(
img_type
=
im_type
,
project_cycle
=
project_cycle
,
run_counter
=
run_counter
,
pointing_num
=
pointNum
)
h_prim
[
'OBJECT'
]
=
str
(
int
(
project_cycle
))
+
pointNum
.
rjust
(
8
,
'0'
)
h_prim
[
'OBJECT'
]
=
str
(
int
(
project_cycle
))
+
pointNum
.
rjust
(
7
,
'0'
)
h_prim
[
'OBSID'
]
=
OBS_id
# h_prim['TELFOCUS'] = 'f/14'
h_prim
[
'EXPTIME'
]
=
exptime
...
...
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