Public Member Functions | |
def | __init__ |
def | callback |
def | evaluation_function |
def | initialise_configurations |
def | minimize |
def | multiply |
def | record |
def | write_full_mapping |
Public Attributes | |
configurations | |
cyberglove | |
glove_name_index_map | |
hand_name_index_map | |
maxerror | |
minerror | |
simplex_iteration_index | |
thumb_glove | |
thumb_hand | |
verbose |
Definition at line 40 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::__init__ | ( | self, | ||
verbose = 1 | ||||
) |
Definition at line 41 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::callback | ( | self, | ||
xk | ||||
) |
Function called at each iteration
Definition at line 233 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::evaluation_function | ( | self, | ||
matrix | ||||
) |
The error is computed by adding the square error for each configuration.
Definition at line 177 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::initialise_configurations | ( | self | ) |
Definition at line 94 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::minimize | ( | self | ) |
Definition at line 243 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::multiply | ( | self, | ||
vector_glove, | ||||
matrix | ||||
) |
multiply the vector by the matrix. Returns a vector.
Definition at line 216 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::record | ( | self, | ||
config | ||||
) |
Definition at line 341 of file cyberglove_mapper.py.
def cyberglove_mapper::MappingMinimizer::write_full_mapping | ( | self, | ||
output_path = "../../../param/GloveToHandMappings" | ||||
) |
Writes the mapping matrix to a file: the glove values are the lines, the hand values are the columns
Definition at line 267 of file cyberglove_mapper.py.
Definition at line 77 of file cyberglove_mapper.py.
Definition at line 44 of file cyberglove_mapper.py.
Definition at line 54 of file cyberglove_mapper.py.
Definition at line 64 of file cyberglove_mapper.py.
Definition at line 92 of file cyberglove_mapper.py.
Definition at line 91 of file cyberglove_mapper.py.
Definition at line 80 of file cyberglove_mapper.py.
Definition at line 69 of file cyberglove_mapper.py.
Definition at line 73 of file cyberglove_mapper.py.
Definition at line 46 of file cyberglove_mapper.py.