Liegroups
Python implementation of SO2, SE2, SO3, and SE3 matrix Lie groups using numpy or pytorch
Install / Use
/learn @utiasSTARS/LiegroupsREADME
liegroups
Python implementation of SO2, SE2, SO3, and SE3 matrix Lie groups using numpy or PyTorch.
Note that this package is no longer actively mantained and has been superseded by [PyMLG].
Installation
To install, cd into the repository directory (the one with setup.py) and run:
pip install .
or
pip install -e .
The -e flag tells pip to install the package in-place, which lets you make changes to the code without having to reinstall every time. Do not do this on shared workstations!
Testing
Ensure you have pytest installed on your system, or install it using conda install pytest or pip install pytest. Then run pytest in the repository directory.
Usage
Numpy and torch implementations are accessible through the liegroups.numpy and liegroups.torch subpackages.
By default, the numpy implementation is available through the top-level package.
Access the numpy implementation using something like
from liegroups import SE3
or
from liegroups.numpy import SO2
Access the pytorch implementation using something like
from liegroups.torch import SE2
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
