Skip to content
Last updated

API / geotoolkit / seismic / analysis / filters / TaperFilterProcess / TaperFilterProcess

Class: TaperFilterProcess

filters.TaperFilterProcess.TaperFilterProcess

The TaperFilterProcess applies both pass band and band reject filtering on the traces <br> <br> This class uses a taper function and applies filtering in the Fourier domain.<br> The taper function is defined using four frequencies (encapsulated in the class TaperFrequencyBoundary).<br> Because this filter is applied in the Fourier domain, the filter object has to be aware of the sample rate in order to map the frequencies to the data values property.

Hierarchy

Table of contents

Constructors
  • [new TaperFilterProcess(state)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.seismic.analysis.filters.taperfilterprocess.taperfilterprocess.md#new taperfilterprocess(state))
Methods
Css Properties
Name Type Description
applybooleanWhether the processor is active or not
f1number1st frequency
f2number2nd frequency
f3number3rd frequency
f4number4th frequency
namestringName of the processor
passflagbooleanFiltering mode
sampleratenumberThe sample rate

Contents

Constructors

new TaperFilterProcess(state)

• new TaperFilterProcess(state?)

Parameters

Name Type
Optional stateOptions

Overrides

SeismicTraceProcessor.constructor

Methods

apply

▸ apply(apply): TaperFilterProcess

Sets apply

Parameters

Name Type Description
applybooleanwhether the processor is active or not

Returns

TaperFilterProcess

Inherited from

SeismicTraceProcessor.apply


clone

▸ clone(): SeismicTraceProcessor

Clones processor

Returns

SeismicTraceProcessor

this

Inherited from

SeismicTraceProcessor.clone


copyConstructor

▸ Protected copyConstructor(src): void

Copy constructor

Parameters

Name Type Description
srcSeismicTraceProcessorSource to copy from

Returns

void

Inherited from

SeismicTraceProcessor.copyConstructor


dispose

▸ dispose(): void

Dispose

Returns

void

Inherited from

SeismicTraceProcessor.dispose


equalsProcessor

▸ Protected equalsProcessor(other): boolean

Return true if processors are identical

Parameters

Name Type Description
otherSeismicTraceProcessorseismic processor

Returns

boolean

Inherited from

SeismicTraceProcessor.equalsProcessor


getClassName

▸ getClassName(): string

Returns

string

Inherited from

SeismicTraceProcessor.getClassName


getFrequencyBoundary

▸ getFrequencyBoundary(): TaperFrequencyBoundary

Gets the frequency boundary

Returns

TaperFrequencyBoundary

frequencyBoundary The frequency boundary


getName

▸ getName(): string

Returns name of the processor

Returns

string

Inherited from

SeismicTraceProcessor.getName


getPassFlag

▸ getPassFlag(): boolean

Gets the pass flag

Returns

boolean

passFlag The pass flag


getProperties

▸ getProperties(): OptionsOut

Returns properties

Returns

OptionsOut

properties

Overrides

SeismicTraceProcessor.getProperties


getSampleRate

▸ getSampleRate(): number

Gets the sample rate

Returns

number

sampleRate The sample rate


getState

▸ getState(): OptionsOut

returns state of the taper filter

Returns

OptionsOut

The state of the taper filter

Overrides

SeismicTraceProcessor.getState


invalidate

▸ invalidate(): TaperFilterProcess

Invalidate owner

Returns

TaperFilterProcess

Inherited from

SeismicTraceProcessor.invalidate


isApplicable

▸ isApplicable(): boolean

Returns true if processor is active

Returns

boolean

Inherited from

SeismicTraceProcessor.isApplicable


process

▸ process(pipeline, metadata, dataIn, dataOut): boolean

The function returns 'True' if the process was applied to the traces or 'False' if it was not applied.

Parameters

Name Type Description
pipelineSeismicPipelinethe seismic pipeline name
metadataSeismicMetaDataseismic metadata
dataInFloat32ArrayThe input data array on which the process should be applied
dataOutFloat32ArrayThe output/processed data array

Returns

boolean

returns whether the processing was successful

Inherited from

SeismicTraceProcessor.process


setFrequencyBoundary

▸ setFrequencyBoundary(f1): TaperFilterProcess

Sets frequency boundary

Parameters

Name Type Description
f1TaperFrequencyBoundaryanother TaperFrequencyBoundary

Returns

TaperFilterProcess

this

▸ setFrequencyBoundary(f1, f2, f3, f4): TaperFilterProcess

Sets frequency boundary

Parameters

Name Type Description
f1number1st frequency (hrz)
f2number2-nd frequency (hrz)
f3number3-rd frequency (hrz)
f4number4-th frequency (hrz)

Returns

TaperFilterProcess

this


setName

▸ setName(name): TaperFilterProcess

Set name of the processor

Parameters

Name Type Description
namestringprocessor name

Returns

TaperFilterProcess

Inherited from

SeismicTraceProcessor.setName


setPassFlag

▸ setPassFlag(passFlag): TaperFilterProcess

Sets the pass flag

Parameters

Name Type Description
passFlagbooleanThe pass flag

Returns

TaperFilterProcess

this


setProperties

▸ setProperties(properties?): TaperFilterProcess

Sets properties

Parameters

Name Type Description
Optional propertiesOptionsproperties

Returns

TaperFilterProcess

this

Overrides

SeismicTraceProcessor.setProperties


setSampleRate

▸ setSampleRate(sampleRate): TaperFilterProcess

Sets the sample rate

Parameters

Name Type Description
sampleRatenumberSample rate is the number of times an analog signal is measured (sampled) per second.

Returns

TaperFilterProcess

this


setState

▸ setState(state): TaperFilterProcess

Sets state of the taper filter

Throws

Error if state is null

Parameters

Name Type Description
stateOptionsThe state of the taper filter

Returns

TaperFilterProcess

this

Overrides

SeismicTraceProcessor.setState


verify

▸ verify(stateValue, value): any

Returns stateValue not null, value instead

Parameters

Name Type Description
stateValueanyvalue
valueanydefault value

Returns

any

Inherited from

SeismicTraceProcessor.verify


verifyBoolean

▸ verifyBoolean(value, defaultValue): boolean

Returns stateValue if true or false, value instead

Parameters

Name Type Description
valuebooleanvalue
defaultValuebooleandefault value

Returns

boolean

Inherited from

SeismicTraceProcessor.verifyBoolean


verifyString

▸ verifyString(value, defaultValue): string

Returns stateValue if string, value instead

Parameters

Name Type Description
valuestringvalue
defaultValuestringdefault value

Returns

string

Inherited from

SeismicTraceProcessor.verifyString


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

SeismicTraceProcessor.getClassName


verifyState

▸ Static verifyState(state, name): Options

Sets state 'name' and 'apply' values to respectively name and false. Returns state object

Parameters

Name Type Description
stateOptionsthe default properties
namestringname of the processor

Returns

Options

Inherited from

SeismicTraceProcessor.verifyState