general/misc/
xclip.pro
Routines
top source xclip
xclip, amin, amax, y, flag=flag, clip_adjacent=clip_adjacent, _extra=_extra
xclip PURPOSE: Replaces with FLAGs the values of the array that are BEYOND the limits specified. CALLING SEQUENCE: xclip, amin, amax, y, flag=flag, _extra=_extra INPUT: amin, amax = the minumum and maximum values y = the input array OUTPUT: y = set to flag for points less than amin or greater than amax KEYWORDS: flag = the value that clipped data will be set to, the default is -0.0/0.0 (NaN) clip_adjacent = if set, then clip the vales adjacent to the bad ones, as in tdespike_ae.pro HISTORY: 2-feb-2007, jmm, jimm.ssl.berkeley.edu from Vassilis' clip_deflag.pro 9-feb-2007, change big value to Nan 9-oct-2007, added option to clip the points adjacent to the bad ones, as in tdespike_ae.pro 20-Oct-2007, Jmm, Added this comment to test commit comand $LastChangedBy$ $LastChangedDate$ $LastChangedRevision$ $URL$
Parameters
- amin
- amax
- y
Keywords
- flag
- clip_adjacent
- _extra
File attributes
Modification date: | Thu Feb 13 16:43:47 2014 |
Lines: | 36 |