89 const std::vector<Size> percents = {100, 99, 95, 90, 75, 50, 25};
126 double apply(
double value)
const;
129 const String& getModelType()
const;
132 static void getModelTypes(
StringList& result);
139 void setDataPoints(
const DataPoints& data);
146 void setDataPoints(
const std::vector<std::pair<double, double> >& data);
149 const DataPoints& getDataPoints()
const;
152 const Param& getModelParameters()
const;
164 void getDeviations(std::vector<double>& diffs,
bool do_apply =
false,
165 bool do_sort =
true)
const;
171 void printSummary(std::ostream& os = std::cout)
const;
TransformationStatistics & operator=(const TransformationStatistics &rhs)
Definition: TransformationDescription.h:73
double ymax
largest y value before transformation
Definition: TransformationDescription.h:93
Management and storage of parameters / INI files.
Definition: Param.h:73
Summary statistics before/after applying the transformation. For deviations before/after transformati...
Definition: TransformationDescription.h:71
TransformationModel::DataPoints DataPoints
Vector of coordinate pairs.
Definition: TransformationDescription.h:103
DataPoints data_
Data points.
Definition: TransformationDescription.h:175
TransformationModel::DataPoint DataPoint
Coordinate pair.
Definition: TransformationDescription.h:101
Coordinate pair (with optional annotation)
Definition: TransformationModel.h:57
double xmax
largest x value before transformation
Definition: TransformationDescription.h:91
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
Generic description of a coordinate transformation.
Definition: TransformationDescription.h:61
std::map< Size, double > percentiles_after
percentiles of x/y deviations after transformation
Definition: TransformationDescription.h:96
double xmin
smallest x value before transformation
Definition: TransformationDescription.h:90
double ymin
smallest y value before transformation
Definition: TransformationDescription.h:92
Base class for transformation models.
Definition: TransformationModel.h:53
TransformationModel * model_
Pointer to model.
Definition: TransformationDescription.h:179
A more convenient string class.
Definition: String.h:58
std::map< Size, double > percentiles_before
percentiles of x/y deviations before transformation
Definition: TransformationDescription.h:95
std::vector< DataPoint > DataPoints
Vector of coordinate pairs.
Definition: TransformationModel.h:90
String model_type_
Type of model.
Definition: TransformationDescription.h:177
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46