PhoSim Tutorial 16: How to Use Custom Truth Images

In addition to parameterized models of sources, full images can be used as truth images for what the object would like above the telescope/atmosphere. The advantage is that very complex morphologies can be simulated. This is straight-forward to do with PhoSim as it can photon sample from this image.

For a sample image, we use the FITS image of the Antennae Galaxies. We use the green channel file. In the catalog, we set the spatial name to be the name of the FITS file. PhoSim looks for spatial names with the word fit or fits to determine whether the spatial model should be a truth image. The two parameters after the model name determine the size per pixel in arcseconds and the position angle in degrees.

rightascension 0

declination 0

filter 2

object 0 0.00 0.0 10  ../sky/sed_flat.txt 0 0 0 0 0 0 ../../green.fits 0.2 0.0 none none


The corresponding image is: