setfield is an interactive program for defining a field of stars. This then allows fake Ultracam data to be generated. The stars are modelled as Moffat profiles, i.e. they have profiles of the form (1+r**2)**(-beta). beta must be > 1. The r**2 radius term is actually axx*x*x + 2*axy*x*y + ayy*y*y to allow elliptical profiles. If you want a near-gaussian profile use a large value of beta. The height is set by specifying the total counts in the profile.
setfield newfile field (numccd) nccd plotdata (data [device] xleft xright ylow yhigh iset ilow ihigh plow phigh)
| newfile | --- | true/false to indicate whether the star field file is new or not |
| field | --- | Name of the star field. Will be overwritten if it already exists. |
| numccd | --- | Number of CCDs if a new field. This number must agree with the number of CCDs in any data file read in. |
| nccd | --- | Which CCD to set field for (and plot if -d) |
| plotdata | --- | true/false to plot data |
| device | --- | Plot device |
| data | --- | Name of data file |
| xleft xright | --- | X range to plot |
| ylow yhigh | --- | Y range to plot |
| ilow ihigh | --- | the intensity range is i1 to i2 |
| plow phigh | --- | -p is set, p1 to p2 are percentiles to set the intensity |
This command is a member of the classes: Programs, Testing.
Author: T.R. Marsh
Created: 21 February 2001
Revised: 03 October 2005