Interpolate output #544
-
Hello! I wanted to double check some units when using the "INTERPOL" light model. I see that the argument for the input image for the "INTERPOL" light model requires the image to be in surface brightness per square arc second (not integrated flux per pixel!). When generating an image model (using an interpolated source and lensing it) does the output of the image model also remain in surface brightness units? or does it change it to flux units? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @basicallymaria , thank you for the issue. The output of the simulation is in units of counts per pixel. The idea of the INTERPOL not having pixel units is as the surface brightness is conserved in lensing, and not the value per pixel. Also, the pixel scale of the INTERPOL model does not need to agree with the pixel scale of the simulated data. The total_flux() definition requires you to give a scale of the pixel and then the area of the pixel is being multiplied with |
Beta Was this translation helpful? Give feedback.
Hi @basicallymaria , thank you for the issue. The output of the simulation is in units of counts per pixel. The idea of the INTERPOL not having pixel units is as the surface brightness is conserved in lensing, and not the value per pixel. Also, the pixel scale of the INTERPOL model does not need to agree with the pixel scale of the simulated data. The total_flux() definition requires you to give a scale of the pixel and then the area of the pixel is being multiplied with