public enum ModelIndex extends java.lang.Enum<ModelIndex>
Enum Constant and Description |
---|
ADC |
BALL_STICK |
CYLCYL |
CYLCYL_EQ |
CYLCYLCYL |
CYLCYLCYL_EQ |
DTDT |
DTDTDT |
LDT |
LDT_ALIAS |
LDT_WTD |
MFR |
NLDT |
NLDT_HESS |
NLDT_POS |
NLDT_POS_HESS |
POSCYL |
POSCYL_EQ |
POSCYLCYL |
POSCYLCYL_EQ |
POSPOS |
POSPOS_EQ |
POSPOSCYL |
POSPOSCYL_EQ |
POSPOSPOS |
POSPOSPOS_EQ |
RESTORE |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
The name of the index.
|
int |
numDTs
Number of diffusion tensors returned by the inversion.
|
int |
numIndex
Numerical index for this inversion.
|
Modifier and Type | Method and Description |
---|---|
static ModelIndex[][] |
getClassifiedModelIndices(java.lang.String[] codeStrings)
Parses the model indices from string representation in either text or numeric form.
|
static ModelIndex |
getIndex(int ind) |
static ModelIndex[] |
getIndices(java.lang.String[] codeStrings)
Gets the indices from one or more strings.
|
java.lang.String |
toString() |
static ModelIndex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelIndex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelIndex LDT
public static final ModelIndex LDT_ALIAS
public static final ModelIndex NLDT_POS
public static final ModelIndex NLDT_POS_HESS
public static final ModelIndex NLDT
public static final ModelIndex NLDT_HESS
public static final ModelIndex LDT_WTD
public static final ModelIndex ADC
public static final ModelIndex RESTORE
public static final ModelIndex BALL_STICK
public static final ModelIndex CYLCYL
public static final ModelIndex CYLCYL_EQ
public static final ModelIndex POSPOS
public static final ModelIndex POSPOS_EQ
public static final ModelIndex POSCYL
public static final ModelIndex POSCYL_EQ
public static final ModelIndex DTDT
public static final ModelIndex CYLCYLCYL
public static final ModelIndex CYLCYLCYL_EQ
public static final ModelIndex POSPOSPOS
public static final ModelIndex POSPOSPOS_EQ
public static final ModelIndex POSPOSCYL
public static final ModelIndex POSPOSCYL_EQ
public static final ModelIndex POSCYLCYL
public static final ModelIndex POSCYLCYL_EQ
public static final ModelIndex DTDTDT
public static final ModelIndex MFR
public final java.lang.String name
public final int numIndex
public final int numDTs
public static ModelIndex[] values()
for (ModelIndex c : ModelIndex.values()) System.out.println(c);
public static ModelIndex valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ModelIndex>
public static ModelIndex[] getIndices(java.lang.String[] codeStrings)
Note: this method should not be used for a MultiTensorInversion
; see
getClassifiedModelIndices
.
codeStrings
- contains one or more strings. If there is one string, and the string
represents an integer index, the method will attempt to parse two indices. For example,
getIndices("32")
returns [POSPOS, NLDT_POS]
. If multiple
Strings are in the array, a single index is returned per string.public static ModelIndex[][] getClassifiedModelIndices(java.lang.String[] codeStrings)
MultiTensorInversion
.codeStrings
- public static ModelIndex getIndex(int ind)
getIndex(1)
returns LDT
and getIndex(21)
returns CYLCYL
.