53std::vector<eis::DataPoint>
reduceRegion(
const std::vector<eis::DataPoint>& data, fvalue gradThreshFactor = 0.01,
bool useSecondDeiv =
false);
void normalize(std::vector< eis::DataPoint > &data)
Normalizes the data to [0,1].
std::vector< eis::DataPoint > reduceRegion(const std::vector< eis::DataPoint > &data, fvalue gradThreshFactor=0.01, bool useSecondDeiv=false)
Reduces the data by removing "uninteresting" regions.
void eraseSingularites(std::vector< eis::DataPoint > &data)
Removes INF and NAN from the dataset by interpolating from neighboring points.
eisgenerator Copyright (C) 2021 Carl Klemm
Definition basicmath.h:26