|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide replace.pro
Routine Summary 2 routines |
procedure replace[, bchan][, echan], [/zero], [/blank] | |
Replace spectral channels by interpolation, or with zero values or blanks. |
procedure replace_chans, bchan, echan, [/zero], [/blank] | private |
Used internally in replace |
Routine Details |
replace |
Replace spectral channels by interpolation, or with zero values or blanks. If neither zero or blank are set, the data between bchan and echan are replaced with a straight line connecting the two end points. If neither bchan or echan are given the user is prompted select the region to be replaced on the plotter.
getrec,1 chan ; set the X-axis to channels replace,1023,1025 ; replace the channel range 1023-1025 freq ; set the X-axis to GHz replace ; prompt user for ranges and replace the values replace,15,/zero ; set the data value at channel 15 to 0.0 replace,2014,/blank; set the data value at channel 2014 to NaN
replace_chans | private |
Used internally in replace
Keywords | |
zero |
When set, set the data to 0 in the channel range. |
blank |
When set, set the data to NaN in the channel range. Has no effect if zero is also set. |