Method ao/spikecleaning


  spikecleaning detects and corrects possible spikes in analysis objects
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SPIKECLEANING detects spikes in the temperature data and
 	           replaces them by artificial values depending on the method 
               chosen ('random', 'mean', 'previous', 'linear', 'spline').
               The first three methods consider extrapolation techniques
               linear and spline apply interpolations to the data.
 
 	           Spikes are defined as singular samples or groups of samples
               with an (absolute) value higher than kspike times the
               standard deviation of the high-pass filtered (IIR filter)
               input AO.x
 
  CALL:        b = spikecleaning(a1, a2, ..., an, pl)
 
  INPUTS:    aN - a list of analysis objects
 	           pl - parameter list
 
  OUTPUTS:     b - a list of analysis objects with "spike values" removed
               and corrected
 
  Parameters Description
  
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
KSPIKE 3.2999999999999998 none High values imply no correction of relative low amplitude spikes.
FC 0.025000000000000001 none Frequency cut-off of the IIR filter.
ORDER 2 none The order of the IIR filter.
RIPPLE 0.5 none Specify the pass/stop-band ripple for bandpass/bandreject filters
METHOD 'random'
  • 'random'
  • 'mean'
  • 'previous'
  • 'spline'
  • 'linear'
The method used to replace the spike value. Random and mean follow extrapolation methods while spline and linear follow interpolateion methods.
NUMPREVPOINTS 4 none Number of previous points to delete and interpolate.
NUMFOLLPOINTS 5 none Number of following points to delete and interpolate.
INTERPOINTS 10 none Length of the segments at both sides of the spike that are going to be used when interpolating.
DIFFSPIKES 6 none Minimum distance in samples between spikes to consider them different spikes.
TIMES 1 none Number of times to clean the spikes recursively.
REMOVEDDSTEMPERATUREOFFSET 0
  • 0
  • 1
Remove DDS temperature offset after scale change tranitory
OFFSETTHRESHOLD 0.001 none Offset threshold when removing the DDS temperature offset after scale change (only if selected).
back to top back to top

Some information of the method ao/spikecleaning are listed below:
Class name ao
Method name spikecleaning
Category Signal Processing
Package name ltpda
VCS Version 3542afe99dea25c636b7ac3b82a9f6f8be9d447d
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team