sot / Quaternion

Quaternion manipulation
https://sot.github.io/Quaternion
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

Add QuatDescriptor descriptor and QuatLike type alias #44

Closed taldcroft closed 10 months ago

taldcroft commented 10 months ago

Description

Similar to https://github.com/sot/cxotime/pull/43, this adds a descriptor that facilitates make a dataclass with a Quat attribute initialized from a QuatLike input.

Requires

Interface impacts

None except adds QuatDescr and QuatLike to the public API.

Testing

Unit tests

Quaternion/tests/test_all.py .............................................. [ 63%] Quaternion/tests/test_shaped.py .......................... [100%]

===================================================== 72 passed in 2.89s ======================================================


Independent check of unit tests by [REVIEWER NAME]
- [ ] [PLATFORM]:

### Functional tests
<!-- Describe and document results of any functional tests, otherwise leave the text below -->
No functional testing.