LSSTDESC / imSim

GalSim based Rubin Observatory image simulation package
https://lsstdesc.org/imSim
BSD 3-Clause "New" or "Revised" License
36 stars 15 forks source link

Add ComCam vignetting #449

Closed jmeyers314 closed 6 months ago

jmeyers314 commented 6 months ago

I updated the files in devel-tools/vignetting to handle both LsstCam and ComCam. I made one algorithmic tweak, which was to reflect the input (radius, flux) data about the radius=0 axis so when fitting the spline, the symmetry of the input data and knots forces the spline to have zero derivative at radius=0.

ComCam and (updated) LsstCam pngs below:

LSSTCam_vignetting_profile_fit LSSTComCamSim_vignetting_profile_fit

To use the new vignetting profile for ComCam, update your yaml config with:

input:
  vignetting:
    file_name: LSSTComCamSim_vignetting_data.json