The metrics related to TF (distance, jerk, velocity, length) have a lot of code duplication between them.
In eg. CalculateTfAccelerationTranslation, vs CalculateTfDistanceTranslation only a few members are added and a few lines in get_data are different but mostly the same. Some basic inheritance can reduce a lot of duplication and reduce maintenance.
Might be related to #58 as well.
The metrics related to TF (distance, jerk, velocity, length) have a lot of code duplication between them.
In eg.
CalculateTfAccelerationTranslation, vsCalculateTfDistanceTranslationonly a few members are added and a few lines inget_dataare different but mostly the same. Some basic inheritance can reduce a lot of duplication and reduce maintenance.Might be related to #58 as well.