sim_model
sim_model can be used to pass in a structure (labelled gaussian_source_str) which specifies a 2d Gaussian source. The Gaussian is specified by its amplitude, x and y standard deviation (in arcseconds), its position relative to the center of the image (in arcseconds), and its tilt angle. The amplitude refers to the total photon flux from the source, not the peak value. The maximum value of amplitude is 1, if you want two sources of equal strength, set both amplitudes to 1.0. See the demo program sim_2gaussians.pro in the hsi_sim_flare document. The model also may be of the type {curved_gaussian_source_str}, which has a curvature value in addition to the above parameters. The model can also be given as an array with zeroes everywhere except at the location of point sources. The non zero values should be specified in normalized units, with a maximum of 1.0. The default model is a two-component gaussian source with equal amplitudes, and xy standard deviations of 0.001 arcsec, to simulate point sources.