Skip to content

Commit

Permalink
matlab compare: simplify by using pytest -k matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Nov 24, 2023
1 parent 1ad6a04 commit 2096bf2
Show file tree
Hide file tree
Showing 12 changed files with 314 additions and 380 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,14 @@ As noted above, use list comprehension if you need vector data without Numpy.

## Compare to Matlab Mapping and Aerospace Toolbox

In the
[./scripts/matlab/](scripts/matlab/)
directory are "compare_*.py" Python scripts that use
The tests in files tests/test_matlab*.py selected by

```sh
pytest -k matlab
# run from pymap3d/ top-level directory
```

use
[Matlab Engine for Python](https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html)
to compare Python PyMap3D output with Matlab output using Matlab functions.

Expand Down
81 changes: 0 additions & 81 deletions scripts/matlab/compare_ecef2eci.py

This file was deleted.

58 changes: 0 additions & 58 deletions scripts/matlab/compare_lox.py

This file was deleted.

69 changes: 0 additions & 69 deletions scripts/matlab/compare_vdist.py

This file was deleted.

96 changes: 0 additions & 96 deletions scripts/matlab/compare_vreckon.py

This file was deleted.

73 changes: 0 additions & 73 deletions scripts/matlab/matlab_engine.py

This file was deleted.

Loading

0 comments on commit 2096bf2

Please sign in to comment.