An apparatus to provide setpoint data to an exposure apparatus, the exposure apparatus having a programmable patterning device configured to produce a plurality of radiation beams for applying individually controllable doses to a target, and configured to project each of the radiation beams onto a respective location on the target, the apparatus comprising:
- a data processing unit configured to:
- calculate target dose values to be applied by the plurality of radiation beams at a plurality of different times in order to form a desired dose pattern on the target, each target dose value defining the dose distribution of a spot exposure formed by the radiation beam to which the target dose value is applied;
- and
- calculate a sequence of setpoint data to control the programmable patterning device to provide beams that apply the target dose values, wherein:
- a nominal position of a characteristic point in the dose distribution of each of the spot exposures that the apparatus can produce lies at a point of a spot exposure grid;
- and
- the data processing unit is configured to provide target dose values at the resolution of the spot exposure grid by:
- calculating target dose values at grid points on a lower resolution grid, the lower resolution grid having a resolution that is lower than the spot exposure grid;
- and
- for each of the calculated target dose values, deriving a target dose value at each of a plurality of points in the spot exposure grid.