Commit bee77179 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

remove option to use extra shear catalog

parent adb90dd3
......@@ -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"]:
......
......@@ -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 \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment