|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Derive per-axis metric weights from the spread of a sample set.
| samples | Observations, all of the same dimension |
| periods | Per-axis wrap periods, or an empty vector for none |
The answer to incommensurate units when a corpus is available: rather than the caller guessing that pressure should count twice as much as speed, the weights come from how much each axis actually varied across the observations. An axis with no variation gets unit weight rather than an infinite one.
Definition at line 240 of file FeatureExtent.hpp.