public abstract class DataSynthFromInput extends java.lang.Object implements DataSource
Constructor and Description |
---|
DataSynthFromInput()
Default constructor does nothing.
|
DataSynthFromInput(java.lang.String filename,
java.lang.String inputDataType,
DW_Scheme ip,
double s)
The constructor requires the name of the data file and the details of the
acquisition sequence to use for data synthesis.
|
DataSynthFromInput(java.lang.String filename,
java.lang.String inputDataType,
DW_Scheme ip,
double s,
int seed)
This constructor allows the random number generator seed to be specified.
|
public DataSynthFromInput()
public DataSynthFromInput(java.lang.String filename, java.lang.String inputDataType, DW_Scheme ip, double s)
filename
- Name of the data file.inputDataType
- The type of the input dataip
- The DW_Scheme object with the details of the scanner
sequence to emulate.s
- The signal to noise ratio with q=0.public DataSynthFromInput(java.lang.String filename, java.lang.String inputDataType, DW_Scheme ip, double s, int seed)
filename
- Name of the data file.inputDataType
- The type of the input dataip
- The DW_Scheme object with the details of the scanner
sequence to emulate.s
- The signal to noise ratio with q=0.seed
- Random number generator seed.public double[] nextVoxel() throws DataSourceException
DataSource
nextVoxel
in interface DataSource
DataSourceException
public boolean more()
DataSource
more
in interface DataSource