ABSTRACT:Routines to simulate images
C ROUTINE CALLED: atExpDiskAdd in atImSim.c
Add an exponential disk to an image. All disks are face on. to make an inclined disk, bin the image in row or column.
TCL SYNTAX: expDiskAdd "<region>" "<row>" "<col>" "<Izero>" "<Rs>" "<theta>" "<axisRatio>" "-peak" "-fast" TCL HELP STRING: Adds an exponential disk to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<Izero>" : disk amplitude (total counts) "<Rs>" : disk scale length "<theta>" : position angle "<axisRatio>" : axis Ratio (0.1 < ar < 1) "-peak" : interpret Izero as peak counts not total "-fast" : fast computation (FL32 only)
C ROUTINE CALLED: atDeVaucAdd in atImSim.c
Add a de Vaucouleurs profile to an image. All disks are face on. To make an inclined disk, bin the image in row or column.
TCL SYNTAX: deVaucAdd "<region>" "<row>" "<col>" "<Izero>" "<Rs>" "<theta>" "<axisRatio>" "-peak" "-fast" TCL HELP STRING: Adds a de Vaucouleurs profile to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<Izero>" : bulge amplitude (total counts) "<Rs>" : bulge scale length "<theta>" : position angle "<axisRatio>" : axis Ratio (0.1 < ar < 1) "-peak" : interpret Izero as peak counts, not total "-fast" : fast computation (image type -FL32 only
C ROUTINE CALLED: atDeVaucAddSlow in atImSim.c
Add a de Vaucouleurs profile to an image. All disks are face on. To make an inclined disk, bin the image in row or column.
TCL SYNTAX: deVaucAddSlow "<region>" "<row>" "<col>" "<counts>" "<Rs>" "<maxRad>" "<theta>" "<axisRatio>" "<ngrid>" TCL HELP STRING: Adds a de Vaucouleurs profile to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<counts>" : bulge amplitude (total counts) "<Rs>" : bulge scale length "<maxRad>" : max radius to add counts "<theta>" : position angle "<axisRatio>" : axis Ratio (0.1 < ar < 1) "<ngrid>" : number of grid points per pixel
C ROUTINE CALLED: atexpDiskAddSlow in atImSim.c
Add an exponential disk to the region.
TCL SYNTAX: expDiskAddSlow "<region>" "<row>" "<col>" "<counts>" "<Rs>" "<maxRad>" "<theta>" "<axisRatio>" "<ngrid>" TCL HELP STRING: Adds a de Vaucouleurs profile to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<counts>" : bulge amplitude (total counts) "<Rs>" : bulge scale length "<maxRad>" : max radius to add counts "<theta>" : position angle "<axisRatio>" : axis Ratio (0.1 < ar < 1) "<ngrid>" : number of grid points per pixel
C ROUTINE CALLED: atWingAdd in atImSim.c
Add a power-law wing to an image.
TCL SYNTAX: wingAdd "<region>" "<row>" "<col>" "<Izero>" "<alpha>" "<theta>" "<axisRatio>" "<minR>" "-peak" "-fast" TCL HELP STRING: Adds a power law wing to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<Izero>" : amplitude (total counts) "<alpha>" : power-law -2 > alpha > -6 "<theta>" : position angle "<axisRatio>" : axis Ratio (0.1 < ar < 1) "<minR>" : min radius "-peak" : interpret Izero as peak not total counts "-fast" : faster computation (-FL 32 images only)
C ROUTINE CALLED: atDeltaAdd in atImSim.c
Add a delta function to an image (a PSF star before convolution).
TCL SYNTAX: deltaAdd "<region>" "<row>" "<col>" "<Izero>" TCL HELP STRING: Adds a delta function to an image. TCL ARGUMENTS: : "<region>" : region-handle "<row>" : row position "<col>" : column position "<Izero>" : total counts to add
C ROUTINE CALLED: atRegConvolveWithGaussian in atGauss.c
Use Michael Richmond/Don Petravick's faster Gaussian convolving.
TCL USAGE: USAGE: atRegGaussConv inRegion sigma tempRegion -sigfac TCL HELP STRING: Use Michael Richmond/Don Pertavick's faster gaussian convolving.
C ROUTINE CALLED: atRegStatNoiseAdd in atImSim.c
Add a delta function to an image (a PSF star before convolution).
TCL SYNTAX: regStatNoiseAdd "<reg>" TCL HELP STRING: add statistical noise to a FL_32 region TCL ARGUMENTS: : "<reg>" : the region