Description
Interpolates the masked values of a flattened image. The input is first convolved with a Gaussian filter of the form exp(-(r**2) / 150.0). All pixels at 0 values in the mask are replaced by the filtered result. Then the slit (columns 227-233) is filled with a linear interpolation of columns 226 and 234. The result is clipped to zero.
Usage
fill.py parent-dir fits-file [min] [max]
Examples
14: ~/Projects/Python/AstroPy > fill.py 072407 072407/raw/im0215.a.fits 0 1500 data mean = 8403.780731 flattened mean = 1000.000000 filter sum = 1.000000 filtered mean = 1000.000000 filled mean = 1000.452370



İSky Coyote 2007