It makes sure we are using the lensed RA and Dec of objects, rather than their true RA, Dec (PhoSim and ImSim have no way of applying lensing corrections to positions)
It adds code that bypasses the FieldRotator if we set field_ra=field_dec=0 (this seemed the least invasive way to turn off the code; redirecting the InstanceCatalogWriter to use DatabaseEmulators that did not use the FieldRotator would have involved many more lines of code
It rewrites the supernova InstanceCatalog generation code to read the supernova parameters from a sqlite database (and provides a script to create that database from csv files that Rahul will provide us)
Note: because the supernovae now use strings for their IDs, this branch must be run against master of sims_catUtils.
This PR addresses several issues:
It makes sure we are using the lensed RA and Dec of objects, rather than their true RA, Dec (PhoSim and ImSim have no way of applying lensing corrections to positions)
It adds code that bypasses the
FieldRotator
if we setfield_ra=field_dec=0
(this seemed the least invasive way to turn off the code; redirecting theInstanceCatalogWriter
to useDatabaseEmulator
s that did not use theFieldRotator
would have involved many more lines of codeIt rewrites the supernova InstanceCatalog generation code to read the supernova parameters from a sqlite database (and provides a script to create that database from csv files that Rahul will provide us)
Note: because the supernovae now use strings for their IDs, this branch must be run against master of
sims_catUtils
.