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
csst-sims
csst_msc_sim
Commits
a95b1315
Commit
a95b1315
authored
Jul 02, 2025
by
Zhang Xin
Browse files
pep8
parent
2830777a
Pipeline
#9084
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
observation_sim/config/header/ImageHeader.py
View file @
a95b1315
...
...
@@ -355,7 +355,7 @@ def WCS_def(xlen=9216, ylen=9232, gapy=898.0, gapx1=534, gapx2=1309, ra_ref=60,
# TODO project_cycle is temporary, is not in header defined, delete in future
def
generatePrimaryHeader
(
xlen
=
9216
,
ylen
=
9232
,
pointing_id
=
'00000001'
,
pointing_type_code
=
'101'
,
ra
=
60
,
dec
=-
40
,
pixel_scale
=
0.074
,
time_pt
=
None
,
im_type
=
'SCI'
,
exptime
=
150.
,
sat_pos
=
[
0.
,
0.
,
0.
],
sat_vel
=
[
0.
,
0.
,
0.
],
pa
=
23.5
,
project_cycle
=
6
,
run_counter
=
0
,
chip_name
=
"01"
,
obstype
=
'WIDE'
,
dataset
=
'csst-msc-c9-25sqdeg-v3'
):
def
generatePrimaryHeader
(
xlen
=
9216
,
ylen
=
9232
,
pointing_id
=
'00000001'
,
pointing_type_code
=
'101'
,
ra
=
60
,
dec
=-
40
,
pixel_scale
=
0.074
,
time_pt
=
None
,
im_type
=
'SCI'
,
exptime
=
150.
,
sat_pos
=
[
0.
,
0.
,
0.
],
sat_vel
=
[
0.
,
0.
,
0.
],
pa
=
23.5
,
project_cycle
=
6
,
run_counter
=
0
,
chip_name
=
"01"
,
obstype
=
'WIDE'
,
dataset
=
'csst-msc-c9-25sqdeg-v3'
):
# array_size1, array_size2, flux, sigma = int(argv[1]), int(argv[2]), 1000.0, 5.0
...
...
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