Measurement and compensation of spatial errors in optical motion capture via a spatially adaptive weighted RBF–residual neural network | Synapse