lsst-sims / legacy_sims_GalSimInterface

code to seamlessly generate simulated images using GalSim based off of simulated catalogs generated by CatSim
5 stars 7 forks source link

add pointing info to detector FITS headers #55

Closed jchiang87 closed 6 years ago

jchiang87 commented 6 years ago

This info will enable the imSim script to generate ingestible raw files for obs_lsstCam from the eimage files.

cwwalter commented 6 years ago

So, this makes it so that e-images will work with obs_lsstCam too and we don't need obs_lsstSims for it?

Sorry.. I'm not quite positive what the change does. Are only those headers are missing and it basically makes it look like one big amp with some initial pointing info? Thanks!

jchiang87 commented 6 years ago

This is needed to provide the pointing info to the write_amp_image_file.py script that writes the raw files for obs_lsstCam. Currently, that script (in a branch) needs to retrieve that info from the instance catalog that was used. This change has no direct relationship to the use of obs_lsstSim.

cwwalter commented 6 years ago

Ah got it. OK thanks.

danielsf commented 6 years ago

This looks good to me. Let me run a Jenkins job before hitting "approve".