Skip to content

[BUG] Time reversal #572

Open
Open
@djps

Description

@djps

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.

Image

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):

  • OS: Windows 11

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions