public abstract class TRSE_Scheme extends DW_Scheme implements SimulableScheme
Note that the time of the start of the third pulse is NOT specified in the scheme file, as it is assumed to start at the end of the second pulse. Also, the duration of the fourth pulse is not specified either but calculated so as to enforce del1 + del2 = del3 + del4. If del3 is greater than del1 + del2 an exception will be thrown.
This implementation also assumes that the gradient strength in each pulse is the same, and in the same direction.
For more information see Reese et al, http://www.ncbi.nlm.nih.gov/pubmed/12509835
Modifier and Type | Method and Description |
---|---|
double |
getDel1(int i) |
double |
getDel2(int i) |
double |
getDel3(int i) |
double |
getDel4(int i) |
double |
getDELTA(int i) |
abstract double |
getDuration()
returns the duration necessary for simulation dynamics to cover the
whole specified sequence
|
double[] |
getG(int i) |
abstract double[] |
getGradImpulse(int i,
double t,
double tLast)
returns the gradient impulse between this and most recent call
|
double |
getModG(int i) |
double[] |
getNonZeroBigDeltas()
Gets DELTA (separation of the onset of the first and third pulse) for all non-zero measurements.
|
double[] |
getNonZeroDelta1s()
Gets delta1 for all non-zero measurements.
|
double[] |
getNonZeroDelta2s()
Gets delta2 for all non-zero measurements.
|
double[] |
getNonZeroDelta3s()
Gets delta3 for all non-zero measurements.
|
double[] |
getNonZeroDelta4s()
Gets delta4 for all non-zero measurements.
|
double[][] |
getNonZeroGs() |
double[] |
getNonZeroModGs()
Gets all gradient strengths for non-zero measurements.
|
double[] |
getNonZeroT_Delta1s()
Gets t_delta1 for all non-zero measurements.
|
double[] |
getNonZeroT_Delta2s()
Gets t_delta2 for all non-zero measurements.
|
double[] |
getNonZeroT_Delta3s()
Gets t_delta3 for all non-zero measurements.
|
double[] |
getNonZeroT_Delta4s()
Gets t_delta4 for all non-zero measurements.
|
double[] |
getNonZeroTEs()
Gets TE for all non-zero measurements.
|
double |
getT_Del1(int i) |
double |
getT_Del2(int i) |
double |
getT_Del3(int i) |
double |
getT_Del4(int i) |
double |
getTE(int i) |
flipX, flipY, flipZ, geoMeanZeroMeas, getB_Matrix, getB_Value, getG_Dir, getNonZeroB_Values, getNonZeroG_Dirs, getSubsetScheme, gradOrder, normalizeData, normalizeData, normalizeData, normalizeGradDirs, nullScheme, numMeasurements, numZeroMeasurements, readScheme, zero
public final double[][] getNonZeroGs()
public final double[] getNonZeroBigDeltas()
public final double[] getNonZeroDelta1s()
public final double[] getNonZeroT_Delta1s()
public final double[] getNonZeroDelta2s()
public final double[] getNonZeroT_Delta2s()
public final double[] getNonZeroDelta3s()
public final double[] getNonZeroT_Delta3s()
public final double[] getNonZeroDelta4s()
public final double[] getNonZeroT_Delta4s()
public final double[] getNonZeroTEs()
public final double[] getNonZeroModGs()
getModG(int)
public final double[] getG(int i)
public final double getDELTA(int i)
public final double getModG(int i)
public final double getT_Del1(int i)
public final double getT_Del2(int i)
public final double getT_Del3(int i)
public final double getT_Del4(int i)
public final double getDel1(int i)
public final double getDel2(int i)
public final double getDel3(int i)
public final double getDel4(int i)
public final double getTE(int i)
public abstract double[] getGradImpulse(int i, double t, double tLast)
getGradImpulse
in interface SimulableScheme
i
- line in scheme filet
- current timetLast
- time of most recent previous callpublic abstract double getDuration()
getDuration
in interface SimulableScheme