faker


 FAKER

 Fakes up a data frame with multiple objects, sky lines and noise for
 testing purposes.

 Parameters:

 TEMPLATE  -- ASCII file specifying frame format. 

 SEED      -- Seed integer for random number generator.

 OUTPUT    -- The image file to create 

 Here is an example template file (the comments should be removed
 however)

 Fake object frame ! Object name
 100 500           ! Dimensions NX,NY
 3. 2.             ! Readout noise, photons/ADU
 3                 ! Number of objects along slit
 3. 4              ! Their FWHM and number of poly coeffs for track
 100. 500. 300.    ! Number of counts/row
 20. 1. 1. 1.      ! Poly coeffs of track 1
 50. 1. 1. 1.      ! Poly coeffs of track 2
 70. 1. 1. 1.      ! Poly coeffs of track 3
 20. 10            ! Continuum of sky, number of lines
 2.5 3             ! FWHM of sky lines, number of coeffs
 20. 100. 400. 400. 300. 50. 60. 350. 600. 100. ! Counts/col of lines
 10. 1. 1.         ! Poly coeffs of line 1 
 30. 1. 1.         ! Poly coeffs of line 2 
 60. 1. 1.         ! Poly coeffs of line 3 
 90. 1. 1.         ! Poly coeffs of line 4 
 150. 1. 1.        ! Poly coeffs of line 5 
 180. 1. 1.        ! Poly coeffs of line 6 
 220. 1. 1.        ! Poly coeffs of line 7 
 340. 1. 1.        ! Poly coeffs of line 8 
 390. 1. 1.        ! Poly coeffs of line 9
 410. 1. 1.        ! Poly coeffs of line 10 
 200 5000.         ! Number of cosmic rays, number of counts/ray

 History: adapted to NDF 13/01/1998 by TRM

This command belongs to the class: miscellaneous


Tom Marsh, Warwick