Last updated

API / geotoolkit / seismic / data / TraceSection / TraceSection

Class: TraceSection

data.TraceSection.TraceSection

TraceSection is an 'interface' class for seismic traces collection. A trace section provides access to its traces individually whatever the internal format is (for example a bulk array of binary values). Inheriting classes are responsible for providing the actual implementation.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new TraceSection()

new TraceSection()

Methods

areSamplesEmpty

areSamplesEmpty(): boolean

Returns true, if samples are empty

Returns

boolean


clone

Abstract clone(): TraceSection

Creates a clone of the trace section

Returns

TraceSection

this


getNumberOfTraces

Abstract getNumberOfTraces(): number

Returns number of traces in the section

Returns

number


getSamplesPerTrace

getSamplesPerTrace(): number

Returns samples per trace count

Returns

number


getTrace

Abstract getTrace(traceid): Trace

Return trace by number from 0 to reader.getTraceNumber()-1

Parameters

Name Type Description
traceidnumberunique trace id

Returns

Trace


getTraceByIndex

Abstract getTraceByIndex(index): Trace

Returns trace by index in the section

Parameters

Name Type Description
indexnumbertrace index in the section starting from 0 to getNumberOfTraces()-1

Returns

Trace


getTraceRange

Abstract getTraceRange(): Range

Returns start and end trace indices

Returns

Range


isHeaderEmpty

isHeaderEmpty(): boolean

Returns true, if header data is empty

Returns

boolean