28 #include "../common/WStringUtils.h"
29 #include "../common/exceptions/WOutOfBounds.h"
30 #include "../common/math/linearAlgebra/WPosition.h"
31 #include "WEEGPositionsLibrary.h"
37 for( std::map< std::string, WPosition >::const_iterator iter = positions.begin(); iter != positions.end(); ++iter )
49 throw WOutOfBounds( std::string(
"EEG Positions Library doesn't contain a position for electrode " + label ) );
std::map< std::string, WPosition > m_positions
mapping from labels to positions
WEEGPositionsLibrary(const std::map< std::string, WPosition > &positions)
Constructor.
WPosition getPosition(std::string label) const
Get the position of an electrode with the given label.
Indicates invalid element access of a container.
This only is a 3d double vector.
std::string toUpper(const std::string &source)
Transforms all characters in the given string into upper case characters.