GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Add initial_image input type #1237

Closed rmjarvis closed 1 year ago

rmjarvis commented 1 year ago

This PR adds the ability for the config processing to read in an initial image from a file and draw additional things onto that. The implementation is pretty simple:

input:
    initial_image:
        file_name: inital_image_file.fits

My test for this is to simulate a supernova time series. It draws a single reference image, and then draws a point source with variable flux 12 times. The SN appears between the 3rd and 4th image. And then it decays exponentially.

Screen Shot 2023-08-15 at 4 11 04 PM