public class SyntheticBootstrapper extends java.lang.Object implements DataSource
Constructor and Description |
---|
SyntheticBootstrapper(ModelPDF pdf,
DW_Scheme ip,
double s,
int samples,
int numVox)
Constructor includes the number of voxels in the synthetic data source.
|
SyntheticBootstrapper(ModelPDF pdf,
DW_Scheme ip,
double s,
int samples,
int numVox,
int seed)
Constructor includes the number of voxels in the synthetic data source.
|
SyntheticBootstrapper(ModelPDF pdf,
DW_Scheme ip,
double s,
int samples,
int numVox,
java.util.Random ran)
Constructor includes the number of voxels in the synthetic data source.
|
public SyntheticBootstrapper(ModelPDF pdf, DW_Scheme ip, double s, int samples, int numVox)
pdf
- The test function to sample.ip
- The DW_Scheme object with the details of the scanner
sequence to emulate.s
- The signal to noise ratio with q=0.samples
- The number of samples of each measurement.numVox
- The number of voxels to provide.public SyntheticBootstrapper(ModelPDF pdf, DW_Scheme ip, double s, int samples, int numVox, int seed)
pdf
- The test function to sample.ip
- The DW_Scheme object with the details of the scanner
sequence to emulate.s
- The signal to noise ratio with q=0.samples
- The number of samples of each measurement.numVox
- The number of voxels to provide.seed
- Random number generator seed.public SyntheticBootstrapper(ModelPDF pdf, DW_Scheme ip, double s, int samples, int numVox, java.util.Random ran)
pdf
- The test function to sample.ip
- The DW_Scheme object with the details of the scanner
sequence to emulate.s
- The signal to noise ratio with q=0.samples
- The number of samples of each measurement.numVox
- The number of voxels to provide.ran
- Random number generator.public double[] nextVoxel() throws DataSourceException
DataSource
nextVoxel
in interface DataSource
DataSourceException
public boolean more()
DataSource
more
in interface DataSource