{"categories":[{"label":"Physics","url":"https://skillfed.io/packages/category/scientific-engineering-physics"},{"label":"Astronomy","url":"https://skillfed.io/packages/category/scientific-engineering-astronomy"}],"enrichment":{"capability":"Adds a quaternion dtype to NumPy, enabling efficient quaternion arithmetic and array operations with native NumPy integration.","skillfed_tags":["rotation-math","numpy-extension","3d-graphics"],"use_cases":["Represent and manipulate 3D rotations in robotics, aerospace, or computer graphics applications","Perform batch quaternion arithmetic on large arrays without Python loops","Convert between rotation representations (matrices, Euler angles, rotation vectors) for different algorithms","Compute exponentials, logarithms, and other transcendental functions on quaternion arrays","Store orientation data compactly in NumPy arrays while maintaining numerical precision"],"what_it_does":"numpy-quaternion extends NumPy with a native quaternion dtype, allowing quaternions to be used directly in NumPy arrays and operations. Quaternions are represented as a scalar (w) followed by three imaginary components (x, y, z), stored as double-precision floats. The package implements standard ufuncs (add, multiply, exp, log, conjugate, etc.) that run efficiently on quaternion arrays, and provides conversion functions to rotate between quaternion, rotation matrix, rotation vector, Euler angle, and spherical coordinate representations.\n\nThe package is built on NumPy and scipy, making it suitable for scientific and engineering applications that need 3D rotations or orientation calculations. Installation typically requires a C compiler, though prebuilt wheels are available for Python 3.10\u20133.13 on macOS, Linux, and Windows. The code is production-stable and actively maintained, with comprehensive documentation and examples.","worth_installing":"Yes, if you need quaternion support in NumPy-based scientific code. The package is production-stable, actively maintained, MIT-licensed, and has no known vulnerabilities. Install friction is moderate due to C compilation, but prebuilt wheels are available for common platforms. Not necessary if you only need basic quaternion math or prefer pure-Python alternatives."},"id":"numpy-quaternion","links":{"html":"https://skillfed.io/packages/numpy-quaternion","md":"https://skillfed.io/packages/numpy-quaternion.md","pypi":"https://pypi.org/project/numpy-quaternion/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-24","license_spdx":"MIT","license_treatment":"permissive","name":"numpy-quaternion","python_support":"supports_current","summary":"Add a quaternion dtype to NumPy"},"popularity":{"monthly_downloads":1142139,"position":4305,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2024.0.13"}
