ImageFile.Stoner__Image__imagefuncs__subtract_image

ImageFile.Stoner__Image__imagefuncs__subtract_image(background, contrast=16, clip=True, offset=0.5)

Subtract a background image from the ImageArray.

Multiply the contrast by the contrast parameter. If clip is on then clip the intensity after for the maximum allowed data range.