public final class XtfCurve extends Object
A log curve consists of measurement data of a specific type. Note that each curves of an XTF file has an individual, implicit, evenly spaced index curve. Values from one curve can therefore not necessarily be compared with a corresponding value from a different curve.
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return description of this curve.
|
XtfCurveHeader |
getHeader()
Return the curve header of this curve.
|
double |
getLevelSpacing()
Return level spacing of this curve.
|
String |
getName()
Return name of this curve.
|
int |
getNDimensions()
Return number of dimensions of this curve.
|
int |
getNValues()
Return number of values in this curve.
|
Object[] |
getRange()
Return the range (i.e the min and max value) of this curve.
|
double |
getTopDepth()
Return depth value associated with the first value of this curve.
|
String |
getUnit()
Return unit of measure of this curve.
|
Object |
getValue(int dimension,
int index)
Return value at the specified index.
|
Class<?> |
getValueType()
Return type of the values of this curve.
|
String |
toString() |
public XtfCurveHeader getHeader()
public String getName()
Convenience method equivalent to getHeader().getCurveName();
public String getUnit()
Convenience method equivalent to getHeader().getUnit();
public String getDescription()
Convenience method equivalent to getHeader().getDescription();
public double getTopDepth()
Convenience method equivalent to getHeader().getTopDepth();
public double getLevelSpacing()
Convenience method equivalent to getHeader().getLevelSpacing();
public Class<?> getValueType()
public int getNDimensions()
Convenience method equivalent to getHeader().getNDimensions();
public int getNValues()
public Object getValue(int dimension, int index)
dimension
- Dimension to get value from. [0,>.index
- Index to get value from. [0,>.IllegalArgumentException
- If index is out of bounds.public Object[] getRange()
Copyright © 2024 Petroware AS - https://petroware.no