public final class SegyTrace extends Object
Constructor and Description |
---|
SegyTrace(SegyTraceHeader traceHeader,
Class<?> dataType,
Object[] values)
Create a new SEG-Y trace.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType()
Return data type oif the trace values.
|
SegyTraceHeader |
getHeader()
Return the trace header of this trace.
|
int |
getNSamples()
Return number of samples in this trace.
|
Object |
getValue(int index)
Return the specified value of this trace.
|
String |
toString() |
public SegyTrace(SegyTraceHeader traceHeader, Class<?> dataType, Object[] values)
traceHeader
- Trace header. Non-null.dataType
- Data type of trace values. Non-null.values
- The trace values. Non-null.IllegalArgumentException
- If any of the arguments are null.public SegyTraceHeader getHeader()
public Class<?> getDataType()
public int getNSamples()
public Object getValue(int index)
index
- Index of value to get. [0,nValues>.IllegalArgumentException
- If index is out of bounds.Copyright © 2020 Petroware AS - https://petroware.no