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
bee77179
Commit
bee77179
authored
Jul 04, 2023
by
Fang Yuedong
Browse files
remove option to use extra shear catalog
parent
adb90dd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ObservationSim/ObservationSim.py
View file @
bee77179
...
...
@@ -68,8 +68,7 @@ class Observation(object):
chip_output
.
Log_error
(
"unrecognized PSF model type!!"
,
flush
=
True
)
# 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
if
self
.
config
[
"obs_setting"
][
"enable_astrometric_model"
]:
...
...
profile_C6.sh
View file @
bee77179
...
...
@@ -3,10 +3,10 @@
date
python
-m
cProfile
-o
C6_profiler_test.pstats /share/home/fangyuedong/csst-simulation/run_sim.py
\
--config_file
config_C6
_test_wcs
.yaml
\
--catalog
wcs_test_C6
\
--config_file
config_C6.yaml
\
--catalog
C6_Catalog
\
-c
/share/home/fangyuedong/csst-simulation/config
# --config_file test_fd_C6.yaml \
# --catalog fd_test_C6 \
# --config_file config_C6.yaml \
# --catalog
C6_Catalog
\
# --config_file config_C6
_test_wcs
.yaml \
# --catalog
wcs_test_C6
\
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