|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcclip.pro
| dcclip |
This procedure truncates (clips) data above and below given intensity limits. Data value can alternatively be blanked using the /blank flag. In that case, data values outside the limits are replaced by blanks (NaN).
getrec,1
a = data_new()
data_copy,!g.s[0],a
show
dcclip,a,-1.0,2.0
show,a
| Parameters | |
|
dc |
data container (spectrum or continuum) |
|
datamin |
min data value |
|
datamax |
max data value |
| Keywords | |
|
blank |
Replace clipped values with NaN instead of the clipping limit. |