|
eisgenerator 1.0.x
|
Types used by eisgenerator. More...
Data Structures | |
| class | eis::DataPoint |
| Basic singular EIS data point. More... | |
| class | eis::Range |
| A range. More... | |
| class | eis::parse_errror |
| class | eis::file_error |
| class | eis::EisSpectra |
Functions | |
| bool | eis::saveToDisk (const EisSpectra &data, const std::filesystem::path &path) |
| deprecated function use eis::EisSpectra::saveToDisk instead | |
| EisSpectra | eis::loadFromDisk (const std::filesystem::path &path) |
| deprecated function use eis::EisSpectra::loadFromDisk instead | |
| std::pair< std::valarray< fvalue >, std::valarray< fvalue > > | eis::eisToValarrays (const std::vector< eis::DataPoint > &b) |
| Returns the a vector of DataPoints as a pair of valarrays. | |
| fvalue | eis::eisDistance (const std::vector< eis::DataPoint > &a, const std::vector< eis::DataPoint > &b) |
| Returns the mean l2 element wise distance of he given spectra. | |
| fvalue | eis::eisNyquistDistance (const std::vector< eis::DataPoint > &a, const std::vector< eis::DataPoint > &b) |
| Returns the mean distance of the points in a to the linearly interpolated nyquist curve of b. | |
Types used by eisgenerator.
| fvalue eis::eisDistance | ( | const std::vector< eis::DataPoint > & | a, |
| const std::vector< eis::DataPoint > & | b | ||
| ) |
Returns the mean l2 element wise distance of he given spectra.
| a | the first set of points |
| b | the second set of points, must be the same length as a |
| fvalue eis::eisNyquistDistance | ( | const std::vector< eis::DataPoint > & | a, |
| const std::vector< eis::DataPoint > & | b | ||
| ) |
Returns the mean distance of the points in a to the linearly interpolated nyquist curve of b.
This implementation is quite slow
| a | the first set of points |
| b | the second set of points |
| std::pair< std::valarray< fvalue >, std::valarray< fvalue > > eis::eisToValarrays | ( | const std::vector< eis::DataPoint > & | b | ) |
Returns the a vector of DataPoints as a pair of valarrays.