• expDiskAdd
  • deVaucAdd
  • deVaucAddSlow
  • expDiskAddSlow
  • wingAdd
  • deltaAdd
  • atRegGaussConv
  • regStatNoiseAdd
  • tclImSim

    ABSTRACT:
    
    Routines to simulate images
    
    

    expDiskAdd

      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)
    
    

    deVaucAdd

      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
    
    

    deVaucAddSlow

      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
    
    

    expDiskAddSlow

      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
    
    

    wingAdd

      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)
    
    

    deltaAdd

      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
    
    

    atRegGaussConv

      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.
    
    

    regStatNoiseAdd

      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