ARTDATA

EXAMPLES
    1.  Create  a  galaxy cluster with a power law distribution of field
    galaxies and stars as background/foreground.
    
        ar> gallist galaxies.dat 100 spatial=hubble lum=schecter egal=.8
        ar> gallist galaxies.dat 500
        ar> starlist galaxies.dat 100
        ar> mkobjects galaxies obj=galaxies.dat gain=3 rdnoise=10 poisson+
    
    Making  the  image  takes  about  5  minutes  (2.5  min  cpu)  on  a 
    SPARCstation 1.
    
    2.  Create  a  uniform  artificial starfield of 5000 stars for a 512
    square image.
    
        ar> starlist starfield.dat 5000
        ar> mkobjects starfield obj=starfield.dat gain=2 rdnoise=10 poisson+
    
    This example takes about a minute on a SPARCstation 1.
    
    3. Create a globular cluster field of 5000 stars for  a  512  square
    image.
    
        ar> starlist gc.dat 5000 spat=hubble lum=bands
        ar> mkobjects gc obj=gc.dat gain=2 rdnoise=10 poisson+
    
    This example takes about a minute on a SPARCstation 1.
    
    4. Add stars to an existing image for test purposes.
    
        ar> mkobjects starfield obj=STDIN gain=2 pois+ magzero=30
        100 100 20
        100 200 21
        200 100 22
        200 200 23
        [EOF]
    
    5. Look at the center of the globular cluster with no noise and very
    good seeing.
    
            cl> mkobjects gc1 obj=gc.dat nc=400 nl=400 distance=.5 \
            >>> xo=-313 yo=-313 radius=.1
    
    The  offset  parameters  are  used  to  recenter  the  cluster  from 
    (256,256)  in  the  data  file  to  (200,200) in the expanded field.
    This example takes 30 sec (5 sec  CPU)  on  a  SPARCstation  1.   To
    expand  and  contract  about a fixed point define the object list to
    have an origin at zero.
    
    6. Make an image of dev$pix at various  distances  and  orientation.
    First we must subtract the background.

            cl> imarith dev$pix - 38 pix
            cl> mkobjects pix1 obj=STDIN nc=200 nl=200 back=1000 \
            >>> magzero=30 rd=10 poi+
            50 50 15.0 pix 40 1 0
            150 50 15.6 pix 30 .8 45
            50 150 16.5 pix 20 .6 90
            150 150 17.1 pix 15 .4 135
            [EOF]
    
    It  would  be  somewhat  more  efficient  to first block average the
    template since the oversampling in this case is very large.