LSSTDESC / sims_GCRCatSimInterface

LSST sims interface to gcr-catalogs
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Issue/82/unlensed agn instance catalogs #83

Closed jbkalmbach closed 4 years ago

jbkalmbach commented 4 years ago

This pull request is to enable AGN variability in instance catalogs with the new multiband tau. Instead of changing sims_catUtils and potentially breaking things for other uses there, I just took the code we needed out of sims_catutils and added it here with the necessary changes. This also adds another flag to generateInstCat.py to turn on/off AGN in instance catalogs.

jbkalmbach commented 4 years ago

Successfully tested on NERSC with shifter image lsstdesc/stack-sims-cat:w_2019_42-sims_w_2019_42 running command: python generateInstCat.py --config_file ../workspace/run2.1/test_agn_config_file_2.1.ddf.json --fov 0.05 --ids 2500000 --agn_threads 2

jbkalmbach commented 4 years ago

Ok, I updated the location for the AGN database. I also submitted a related PR in sims_catUtils to stop the None files from appearing when running instance catalog generation.

jbkalmbach commented 4 years ago

If nobody has any other comments, I will merge this at 4pm Pacific this afternoon.