applyscat takes a raw master flat-field image and a scatter correction frame and constructs a corrected flat-field image.