The procedure to create a sky flat is similar to that mentioned above in Section 7.3.1:
Usage: makeflat -d flatdir [-f framenum -t datestr -r darkdir -n namestr -c]
$ makeflat3 -d /rotse/data/pipeline/image/ -t today -r /rotse/data/pipeline/cal/ -f 001 -n tpt
We must specify that we only wish to use the first frame (001) of each pair. We do not want to use pairs of images, as the stars land on the same pixels in image pairs, thus biasing the median.