public class ScaleOffset extends Filter implements Enhancement
Modifier and Type | Class and Description |
---|---|
static class |
ScaleOffset.Keys |
static class |
ScaleOffset.Provider |
Constructor and Description |
---|
ScaleOffset(java.util.Map<java.lang.String,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
Array |
applyScaleOffset(Array in) |
double |
applyScaleOffset(double value) |
Array |
convert(Array in) |
double |
convert(double value) |
static ScaleOffset |
createFromVariable(VariableDS var) |
byte[] |
decode(byte[] dataIn) |
byte[] |
encode(byte[] dataIn) |
int |
getId() |
java.lang.String |
getName() |
double |
getOffset() |
DataType |
getScaledOffsetType() |
double |
getScaleFactor() |
public ScaleOffset(java.util.Map<java.lang.String,java.lang.Object> properties)
public static ScaleOffset createFromVariable(VariableDS var)
public double getScaleFactor()
public double getOffset()
public DataType getScaledOffsetType()
public double applyScaleOffset(double value)
public double convert(double value)
convert
in interface Enhancement