./
adjust_lin2.pro
Contains the adjust_lin2 procedure
Author information
- Author
Philippe Zarka
- History
2003/12/08: Created
2003/12/08: Last Edit
Routines
top source ADJUST_LIN2
Linear interpolation of bad pixels in a 1-D array. Bad pixels are replaced via linear interpolation of surrounding 2 pixels (immediate neighbours). Bad pixels at the beginning or end of the array are replaced by constant (first or last) values.
Parameters
- x in required type=sometype
1-D array of original data
- para in required type=sometype
weights identifying good (1) and bad (0) pixels in the original data
- xnet out required type=sometype
cleaned data, with bad pixels replaced by interpolated values
Statistics
Lines: | 23 lines |
Cyclomatic complexity: | 5 |
Modified cyclomatic complexity: | 5 |
File attributes
Modification date: | Fri Jan 9 19:59:00 2015 |
Lines: | 23 |