edu.jhu.ece.iacl.algorithms.dti
Class ParV3Info
java.lang.Object
edu.jhu.ece.iacl.algorithms.dti.ParV3Info
public class ParV3Info
- extends java.lang.Object
The ParV3Info class parses par version 3 files for information relevant to CATNAP.
- Author:
- John Bogovic
Constructor Summary |
ParV3Info(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParV3Info
public ParV3Info(java.lang.String filename)
printInfo
public void printInfo()
getDate
public java.lang.String getDate()
- Returns:
- The date parsed from the par file
getParVersion
public java.lang.String getParVersion()
- Returns:
- The version of the par file
getbVals
public java.lang.String getbVals()
- Returns:
- The diffusion b-values obtained from the par file
getSliceAngulation
public double[] getSliceAngulation()
- Returns:
- The slice angulation obtained from the par file
getOffCentre
public double[] getOffCentre()
getNumVolumes
public int getNumVolumes()
- Returns:
- The number of DW-volumes obtained from the par file
getSliceOrientation
public java.lang.String getSliceOrientation()
getInfo
public void getInfo()
- The getInfo method parses the par file and sets the global variables.