Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/misc/

simple_despike_1d.pro


Simple 1d despike, hacked from SXI_despike CALLING SEQUENCE: result=simple_despike_1d(image) INPUTS: image = 1-D image array (float or integer) to be cleaned OUTPUTS: result = Cleaned 1-D image array (float) KEYWORDS: spike_threshold = Median filter threshold for good pixel map width = width of median filter in each direction, default is 3 points use_nan = if set, instead of using the median value as a replacement for a spike, insert a NaN value jmm, 2013-02-12, testing SVN messaging jmm, 2013-02-12, testing SVN messaging, yet again $LastChangedBy: jimm $ $LastChangedDate: 2014-02-12 13:21:15 -0800 (Wed, 12 Feb 2014) $ $LastChangedRevision: 14361 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/misc/simple_despike_1d.pro $

Routines

Routines from simple_despike_1d.pro

result = nnmedian(array, width)
result = simple_despike_1d(image, spike_threshold=spike_threshold, width=width, alt_spike_threshold=alt_spike_threshold, use_nan=use_nan, _extra=_extra)

Routine details

top source nnmedian

result = nnmedian(array, width)

Parameters

array
width

top source simple_despike_1d

result = simple_despike_1d(image, spike_threshold=spike_threshold, width=width, alt_spike_threshold=alt_spike_threshold, use_nan=use_nan, _extra=_extra)

Parameters

image

Keywords

spike_threshold
width
alt_spike_threshold
use_nan
_extra

File attributes

Modification date: Thu Feb 13 16:43:46 2014
Lines: 43