public final class RectGradTRSE_Scheme extends TRSE_Scheme implements SimulableScheme
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION
String that identifies this scheme version in the scheme file.
|
Modifier and Type | Method and Description |
---|---|
DW_Scheme |
flipX()
Negates the X component of the gradient directions.
|
DW_Scheme |
flipY()
Negates the Y component of the gradient directions.
|
DW_Scheme |
flipZ()
Negates the Z component of the gradient directions.
|
double |
getB_Value(int i)
Gets the b-value for measurement i.
|
double |
getDuration()
returns the duration necessary for simulation dynamics to cover the
whole specified sequence
|
double[] |
getGradImpulse(int i,
double t,
double tLast)
returns the gradient impulse between this and most recent call
|
DW_Scheme |
getSubsetScheme(int[] indices)
Gets a scheme composed of a subset of the measurements in this scheme.
|
DW_Scheme |
gradOrder(int[] order)
Reorders the gradient directions.
|
java.lang.String |
toString() |
getDel1, getDel2, getDel3, getDel4, getDELTA, getG, getModG, getNonZeroBigDeltas, getNonZeroDelta1s, getNonZeroDelta2s, getNonZeroDelta3s, getNonZeroDelta4s, getNonZeroGs, getNonZeroModGs, getNonZeroT_Delta1s, getNonZeroT_Delta2s, getNonZeroT_Delta3s, getNonZeroT_Delta4s, getNonZeroTEs, getT_Del1, getT_Del2, getT_Del3, getT_Del4, getTE
geoMeanZeroMeas, getB_Matrix, getG_Dir, getNonZeroB_Values, getNonZeroG_Dirs, normalizeData, normalizeData, normalizeData, normalizeGradDirs, nullScheme, numMeasurements, numZeroMeasurements, readScheme, zero
public static final java.lang.String VERSION
public double getB_Value(int i)
DW_Scheme
getB_Value
in class DW_Scheme
public DW_Scheme flipX()
public DW_Scheme flipY()
public DW_Scheme flipZ()
public DW_Scheme getSubsetScheme(int[] indices)
DW_Scheme
getSubsetScheme
in class DW_Scheme
indices
- integer indices of the measurements to include in the subset.public DW_Scheme gradOrder(int[] order)
DW_Scheme
gradOrder
in class DW_Scheme
order
- the new order of the gradients, where x=0, y=1, z=2. The original order is
[0 1 2], the new order may be any combination of x,y,z. Convenience variables grad___ are
provided by the DW_Scheme
class.gradXYZ and related variables.
public double[] getGradImpulse(int i, double t, double tLast)
TRSE_Scheme
getGradImpulse
in interface SimulableScheme
getGradImpulse
in class TRSE_Scheme
i
- line in scheme filet
- current timetLast
- time of most recent previous callpublic double getDuration()
TRSE_Scheme
getDuration
in interface SimulableScheme
getDuration
in class TRSE_Scheme
public java.lang.String toString()
toString
in class java.lang.Object