The object here is to choose an area of sky, bounded by curves of constant Right ascension and Declination, which just includes the guide field. The outer boundaries of the guide fields are either circular or rectangular in the tangent plane. In the former case (except for targets near the Poles), the ranges of RA and Dec are given by:
where R is the radius of the guide field and f is the focal length. This formula fails for the case where or (i.e. the guide field includes one of the Poles), in which case all stars with (in the North) or (in the South) are selected.For rectangular guide fields, the RA and Dec of each corner are derived from its tangent-plane position using the formulae:
and the widest range in each coordinate is used in the initial search. A similar caveat applies to guide fields around the Poles, for which the selection is made on Declination alone, as for circular guide fields.