Describe the bug
Time reversal with cartesian data does not work: there are two possible issues:
- the output of simulations is in a different order to matlab.
interp_cart_data may not be correct
To Reproduce
Steps to reproduce the behavior:
run
https://gist.github.com/djps/1f9ea4bc080b601a45c4e81f2ed7015a
and compare the behaviour to matlab: there are three simulations which are run. the first computes the data which is time reversed. The second is time reversal, the third is time reversal with interpolation.

python on left - matlab on the right.
Expected behavior
The output from the first simulations does not seem to match: it is certainly in the wrong order. The seond simulation is able to perform time reversal. The third simulation is incorrect as the interpolated data from interp_cart_data is wrong: this could be because the sensor data is in the wrong order or the function itself is incorrect and testing for the interp_cart_data may not be effective.
Desktop (please complete the following information):
Additional context
Describe the bug
Time reversal with cartesian data does not work: there are two possible issues:
interp_cart_datamay not be correctTo Reproduce
Steps to reproduce the behavior:
run
https://gist.github.com/djps/1f9ea4bc080b601a45c4e81f2ed7015a
and compare the behaviour to matlab: there are three simulations which are run. the first computes the data which is time reversed. The second is time reversal, the third is time reversal with interpolation.
python on left - matlab on the right.
Expected behavior
The output from the first simulations does not seem to match: it is certainly in the wrong order. The seond simulation is able to perform time reversal. The third simulation is incorrect as the interpolated data from
interp_cart_datais wrong: this could be because the sensor data is in the wrong order or the function itself is incorrect and testing for theinterp_cart_datamay not be effective.Desktop (please complete the following information):
Additional context