├── .coveragerc ├── .flake8 ├── .github └── workflows │ └── cicd.yml ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── pyproject.toml ├── quaternions ├── __init__.py ├── general_quaternion.py ├── quaternion.py └── utils.py ├── requirements.txt └── tests ├── data └── matlab_results │ ├── matlab_results.json │ ├── quat_diff_ST1_ST2_100_arcsec.txt │ ├── quat_diff_ST1_ST2_110_arcsec.txt │ ├── quat_diff_ST1_ST2_120_arcsec.txt │ ├── quat_diff_ST1_ST2_130_arcsec.txt │ ├── quat_diff_ST1_ST2_140_arcsec.txt │ ├── quat_diff_ST1_ST2_150_arcsec.txt │ ├── quat_diff_ST1_ST2_160_arcsec.txt │ ├── quat_diff_ST1_ST2_170_arcsec.txt │ ├── quat_diff_ST1_ST2_180_arcsec.txt │ ├── quat_diff_ST1_ST2_190_arcsec.txt │ ├── quat_diff_ST1_ST2_200_arcsec.txt │ ├── quat_diff_ST1_ST2_210_arcsec.txt │ ├── quat_diff_ST1_ST2_220_arcsec.txt │ ├── quat_diff_ST1_ST2_230_arcsec.txt │ ├── quat_diff_ST1_ST2_240_arcsec.txt │ ├── quat_diff_ST1_ST2_250_arcsec.txt │ ├── quat_diff_ST1_ST2_260_arcsec.txt │ ├── quat_diff_ST1_ST2_270_arcsec.txt │ ├── quat_diff_ST1_ST2_280_arcsec.txt │ ├── quat_diff_ST1_ST2_290_arcsec.txt │ ├── quat_diff_ST1_ST2_300_arcsec.txt │ ├── quat_diff_ST1_ST2_30_arcsec.txt │ ├── quat_diff_ST1_ST2_310_arcsec.txt │ ├── quat_diff_ST1_ST2_320_arcsec.txt │ ├── quat_diff_ST1_ST2_330_arcsec.txt │ ├── quat_diff_ST1_ST2_340_arcsec.txt │ ├── quat_diff_ST1_ST2_350_arcsec.txt │ ├── quat_diff_ST1_ST2_360_arcsec.txt │ ├── quat_diff_ST1_ST2_40_arcsec.txt │ ├── quat_diff_ST1_ST2_50_arcsec.txt │ ├── quat_diff_ST1_ST2_60_arcsec.txt │ ├── quat_diff_ST1_ST2_70_arcsec.txt │ ├── quat_diff_ST1_ST2_80_arcsec.txt │ └── quat_diff_ST1_ST2_90_arcsec.txt ├── test_general_quaternion.py └── test_quaternion.py /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | relative_files = True 3 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length=99 3 | exclude=.git 4 | select=E,W,F,C,N 5 | ignore= 6 | -------------------------------------------------------------------------------- /.github/workflows/cicd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/.github/workflows/cicd.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/pyproject.toml -------------------------------------------------------------------------------- /quaternions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/quaternions/__init__.py -------------------------------------------------------------------------------- /quaternions/general_quaternion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/quaternions/general_quaternion.py -------------------------------------------------------------------------------- /quaternions/quaternion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/quaternions/quaternion.py -------------------------------------------------------------------------------- /quaternions/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/quaternions/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | -------------------------------------------------------------------------------- /tests/data/matlab_results/matlab_results.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/matlab_results.json -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_100_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_100_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_110_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_110_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_120_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_120_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_130_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_130_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_140_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_140_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_150_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_150_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_160_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_160_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_170_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_170_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_180_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_180_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_190_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_190_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_200_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_200_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_210_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_210_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_220_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_220_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_230_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_230_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_240_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_240_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_250_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_250_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_260_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_260_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_270_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_270_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_280_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_280_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_290_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_290_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_300_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_300_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_30_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_30_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_310_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_310_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_320_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_320_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_330_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_330_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_340_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_340_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_350_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_350_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_360_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_360_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_40_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_40_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_50_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_50_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_60_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_60_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_70_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_70_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_80_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_80_arcsec.txt -------------------------------------------------------------------------------- /tests/data/matlab_results/quat_diff_ST1_ST2_90_arcsec.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/data/matlab_results/quat_diff_ST1_ST2_90_arcsec.txt -------------------------------------------------------------------------------- /tests/test_general_quaternion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/test_general_quaternion.py -------------------------------------------------------------------------------- /tests/test_quaternion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/satellogic/quaternions/HEAD/tests/test_quaternion.py --------------------------------------------------------------------------------