function dpixapply
Corrects dead pixels in X using DPL by interpolation. BOXSIZE defaults to 1 and gives the radius of the boxcar used. Each value where DPL is not 0 will be regarded as a dead pixel. Those are not used in the interpolation process.
Syntax
result = dpixapply(X, DPL [, BOXSIZE [, method = value]] [,/spiffik [,/bezier]])
Arguments
| X: | The array to be corrected for dead pixels |
| DPL: | A dead pixel list in which all non-zero pixels mark dead pixels in X |
| BOXSIZE: | Optional, gives the size of the averaging box for interpolation |
| method = value: | Optional, gives the type of correction: |
| method = 0: | Interpolation from boxcar average (default) |
| method = 1: | Interpolation along first dimension |
| method = 2: | Interpolation along second dimension |
Switches
| /spiffik : | obsolete |
| /bezier : | obsolete |