| 
 | Developer Documentation | |||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide replace.pro
| Routine Summary 2 routines | 
| procedure replace[, bchan][, echan], [/zero] | |
| Replace spectral channels by interpolation, or with zero values | 
| procedure replace_chans, bchan, echan, zero=zero | private | 
| Routine Details | 
| replace | 
Replace spectral channels by interpolation, or with zero values
    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
 
| Parameters | |
| bchan | Starting channel | 
| echan | Ending channel | 
| Keywords | |
| zero | Compute stats for full spectrum? | 
| replace_chans | private | 
| Parameters | |
| bchan | . | 
| echan | . | 
| Keywords | |
| zero | . |