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
Liu Dezi
csst_msc_sim
Commits
a29b3b20
Commit
a29b3b20
authored
3 years ago
by
Fang Yuedong
Browse files
Options
Download
Email Patches
Plain Diff
exptime bug fixed 2
parent
601c0cb0
release_v2.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
C6_codes
DirectImageInSLS
current_stable_for_tests
develop
fitsStamp
liudezi-develop-patch-58263
master
new_sim
new_sim_sls
random_knots_develop
release_v1.0
sim_scheduler
sls_rot_wcs
staylight_header
wcs_test
wcs_test_gridGalaxy
v2.1.0
v2.0.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
internal_test_20240425
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ObservationSim/ObservationSim.py
+1
-0
ObservationSim/ObservationSim.py
config/config_C3.yaml
+5
-5
config/config_C3.yaml
run_C3.pbs
+1
-1
run_C3.pbs
with
7 additions
and
6 deletions
+7
-6
ObservationSim/ObservationSim.py
+
1
-
0
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
,
...
...
This diff is collapsed.
Click to expand it.
config/config_C3.yaml
+
5
-
5
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?
...
...
This diff is collapsed.
Click to expand it.
run_C3.pbs
+
1
-
1
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
...
...
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