22 #include "../Vespucci/Data/Dataset/vespuccidataset.h" 33 void LoadMockData(QString manifest_path);
34 QSharedPointer<VespucciDataset> DatasetAt(
int row);
35 void GetData(mat &spectra, vec &abscissa, vec &x, vec &y);
37 void GenerateMockData(mat &spectra, vec &abscissa, vec &x, vec &y, mat &peak_data, mat &baselines);
38 vec GenerateLinearBaseline(
double min,
double max, uword size);
39 vec GenerateRamanBaseline(
double a0,
double a1,
double a2,
const vec &abscissa);
40 vec GenerateGaussian(vec abscissa, vec centers, vec fwhm, vec intensities);
41 vec GenerateLorentzian(vec abscissa, vec centers, vec fwhm, vec intensities);
43 QVector<QSharedPointer<VespucciDataset> > datasets_;
44 QVector<mat> spectra_;
45 QVector<mat> abscissa_;
51 #endif // TESTSESSION_H The TestSession class Loads mock datasets for testing classes.
VESPUCCI_EXPORT arma::uword max(arma::uword a, arma::uword b)
Vespucci::Math::max.
VESPUCCI_EXPORT arma::uword min(arma::uword a, arma::uword b)
Vespucci::Math::min.