Last updated

API / geotoolkit / seismic / analysis / util / Smoothing / Smoothing

Class: Smoothing

util.Smoothing.Smoothing

A utility class with methods useful for smoothing signal data Ported from the Saddleback Geosolution's Java implementation

Table of contents

Constructors
Methods

Contents

Constructors

new Smoothing()

new Smoothing()

Methods

getClassName

getClassName(): string

Returns

string


boxcarSmooth

Static boxcarSmooth(inputSignal, smootherWidth): Float32Array

Smoothes the signal using a boxcar window (fast, but has window issues) The ends of the signal are handled by padding with repeated values.

Parameters

Name Type Description
inputSignalFloat32ArrayThe input signal
smootherWidthnumberThe width of the smoothing interval

Returns

Float32Array

smoothedSignal The smoothed signal


fastSmooth

Static fastSmooth(inputSignal, smootherWidth, taperFlag): Float32Array

Fast boxcar-like smoother (with optional taper) for the ends of the signal

Parameters

Name Type Description
inputSignalFloat32ArrayThe signal in array representation
smootherWidthnumberThe smoothingWidth
taperFlagbooleanWhether tapering should be applied to signal's endpoints.

Returns

Float32Array

smoothedSignal The smoothed signal


getClassName

Static getClassName(): string

Returns

string