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
csst-sims
csst_msc_sim
Commits
bee77179
Commit
bee77179
authored
2 years ago
by
Fang Yuedong
Browse files
Options
Download
Email Patches
Plain Diff
remove option to use extra shear catalog
parent
adb90dd3
release_v3.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
current_stable_for_tests
develop
master
milky_way_extinction
new_sim
release_v2.0
revert-914004c1
sim_scheduler
sls_psf_pca_convolve
wcs_test_gridGalaxy
v3.3.0
v3.2.1
v3.2.0
v3.1.0
v3.0.0
v2.1.0
3 merge requests
!17
release version 2.1.0
,
!16
version 2.1.0
,
!15
starting point of the new version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ObservationSim/ObservationSim.py
+1
-2
ObservationSim/ObservationSim.py
profile_C6.sh
+4
-4
profile_C6.sh
with
5 additions
and
6 deletions
+5
-6
ObservationSim/ObservationSim.py
+
1
-
2
View file @
bee77179
...
@@ -68,8 +68,7 @@ class Observation(object):
...
@@ -68,8 +68,7 @@ class Observation(object):
chip_output
.
Log_error
(
"unrecognized PSF model type!!"
,
flush
=
True
)
chip_output
.
Log_error
(
"unrecognized PSF model type!!"
,
flush
=
True
)
# Figure out shear fields
# Figure out shear fields
if
shear_cat_file
is
not
None
:
self
.
g1_field
,
self
.
g2_field
,
self
.
nshear
=
get_shear_field
(
config
=
self
.
config
,
shear_cat_file
=
shear_cat_file
)
self
.
g1_field
,
self
.
g2_field
,
self
.
nshear
=
get_shear_field
(
config
=
self
.
config
,
shear_cat_file
=
shear_cat_file
)
# Apply astrometric simulation for pointing
# Apply astrometric simulation for pointing
if
self
.
config
[
"obs_setting"
][
"enable_astrometric_model"
]:
if
self
.
config
[
"obs_setting"
][
"enable_astrometric_model"
]:
...
...
This diff is collapsed.
Click to expand it.
profile_C6.sh
+
4
-
4
View file @
bee77179
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
date
date
python
-m
cProfile
-o
C6_profiler_test.pstats /share/home/fangyuedong/csst-simulation/run_sim.py
\
python
-m
cProfile
-o
C6_profiler_test.pstats /share/home/fangyuedong/csst-simulation/run_sim.py
\
--config_file
config_C6
_test_wcs
.yaml
\
--config_file
config_C6.yaml
\
--catalog
wcs_test_C6
\
--catalog
C6_Catalog
\
-c
/share/home/fangyuedong/csst-simulation/config
-c
/share/home/fangyuedong/csst-simulation/config
# --config_file test_fd_C6.yaml \
# --config_file test_fd_C6.yaml \
# --catalog fd_test_C6 \
# --catalog fd_test_C6 \
# --config_file config_C6.yaml \
# --config_file config_C6
_test_wcs
.yaml \
# --catalog
C6_Catalog
\
# --catalog
wcs_test_C6
\
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