|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IntensityTransform> net.sf.basedb.core.IntensityTransform
public enum IntensityTransform
Gives information in what way spot intensities has been transformed before they were stored in the database.
Enum Constant Summary | |
---|---|
LOG10
Spot intensities are stored as base-10 logged values |
|
LOG2
Spot intensities are stored as base-2 logged values |
|
NONE
No transformation has been applied to the spot intensities. |
Field Summary | |
---|---|
private Formula.AverageMethod |
averageMethod
|
private String |
displayValue
Returned by the toString method. |
private boolean |
isTransformed
If the intensities are transformed or not. |
private int |
value
The integer value of this transform. |
private static Map<Integer,IntensityTransform> |
valueMapping
Maps an integer to a transform. |
Method Summary | |
---|---|
static IntensityTransform |
fromValue(int value)
Get the SpotDataTransform object when you know the integer code. |
Formula.AverageMethod |
getAverageMethod()
Get the averaging method to use when averaging values that has been transformed with the specified transformation. |
int |
getValue()
Get the integer value that is used when storing a transform in the database. |
boolean |
isTransformed()
Does this intensity transformation represents a transformation that has modified the spot intensity values or not? |
String |
toString()
|
abstract double |
unTransform(double transformed)
Un-transform a transformed intensity value back to a regular intensity value. |
abstract Expression |
unTransform(Expression transformed)
Un-transform an expression representing a transformed intensity value so that it represents a raw intensity value. |
static IntensityTransform |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IntensityTransform[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IntensityTransform NONE
public static final IntensityTransform LOG2
public static final IntensityTransform LOG10
Field Detail |
---|
private static final Map<Integer,IntensityTransform> valueMapping
private final int value
private final String displayValue
private final boolean isTransformed
private final Formula.AverageMethod averageMethod
Method Detail |
---|
public static IntensityTransform[] values()
for (IntensityTransform c : IntensityTransform.values()) System.out.println(c);
public static IntensityTransform valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<IntensityTransform>
public static IntensityTransform fromValue(int value)
SpotDataTransform
object when you know the integer code.
value
- The integer value.
public int getValue()
public boolean isTransformed()
public Formula.AverageMethod getAverageMethod()
public abstract Expression unTransform(Expression transformed)
transformed
- The transformed expressionpublic abstract double unTransform(double transformed)
transformed
- The transformed value
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |