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
Wu Jin
CSST simulation
Commits
a29b3b20
Commit
a29b3b20
authored
Jan 17, 2022
by
Fang Yuedong
Browse files
exptime bug fixed 2
parent
601c0cb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
ObservationSim/ObservationSim.py
View file @
a29b3b20
...
@@ -262,6 +262,7 @@ class Observation(object):
...
@@ -262,6 +262,7 @@ class Observation(object):
col_num
=
chip
.
colID
,
col_num
=
chip
.
colID
,
date
=
date_obs
,
date
=
date_obs
,
time_obs
=
time_obs
,
time_obs
=
time_obs
,
exptime
=
pointing
.
exp_time
,
im_type
=
'MS'
)
im_type
=
'MS'
)
h_ext
=
generateExtensionHeader
(
h_ext
=
generateExtensionHeader
(
xlen
=
chip
.
npix_x
,
xlen
=
chip
.
npix_x
,
...
...
config/config_C3.yaml
View file @
a29b3b20
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
# Can add some of the command-line arguments here as well;
# Can add some of the command-line arguments here as well;
# OK to pass either way or both, as long as they are consistent
# OK to pass either way or both, as long as they are consistent
# work_dir: "/public/home/fangyuedong/sim_code_release/CSST/test/"
# work_dir: "/public/home/fangyuedong/sim_code_release/CSST/test/"
work_dir
:
"
/public/home/fangyuedong/
20211203
/CSST/workplace/"
work_dir
:
"
/public/home/fangyuedong/
test
/CSST/workplace/"
data_dir
:
"
/data/simudata/CSSOSDataProductsSims/data/"
data_dir
:
"
/data/simudata/CSSOSDataProductsSims/data/"
run_name
:
"
TEST_astrometry"
run_name
:
"
TEST_astrometry
_FD_30s
"
# (Optional) a file of point list
# (Optional) a file of point list
# if you just want to run default pointing:
# if you just want to run default pointing:
...
@@ -35,7 +35,7 @@ run_option:
...
@@ -35,7 +35,7 @@ run_option:
out_cat_only
:
NO
out_cat_only
:
NO
# Only simulate stars?
# Only simulate stars?
star_only
:
YES
star_only
:
NO
# Only simulate galaxies?
# Only simulate galaxies?
galaxy_only
:
NO
galaxy_only
:
NO
...
@@ -52,7 +52,7 @@ obs_setting:
...
@@ -52,7 +52,7 @@ obs_setting:
survey_type
:
"
All"
survey_type
:
"
All"
# Exposure time [seconds]
# Exposure time [seconds]
exp_time
:
15
0.
exp_time
:
3
0.
# Observation starting date & time
# Observation starting date & time
# (Subject to change)
# (Subject to change)
...
@@ -136,7 +136,7 @@ psf_setting:
...
@@ -136,7 +136,7 @@ psf_setting:
# path to field-distortion model
# path to field-distortion model
# Note: only valid when ins_effects: field_dist is "ON"
# Note: only valid when ins_effects: field_dist is "ON"
fd_path
:
"
FieldDistModel
v2
.0.pickle"
fd_path
:
"
FieldDistModel
Global_v1
.0.pickle"
# sigma_spin: 0.0 # psf spin?
# sigma_spin: 0.0 # psf spin?
...
...
run_C3.pbs
View file @
a29b3b20
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
#PBS -q batch
#PBS -q batch
#PBS -u fangyuedong
#PBS -u fangyuedong
NP
=
4
0
NP
=
8
0
date
date
echo
$NP
echo
$NP
...
...
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