attlesnake-0.2.0
توضیحات
Attitude dynamics in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | attlesnake-0.2.0 |
| نام | attlesnake |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mike Bernard |
| ایمیل نویسنده | mdbernard@protonmail.com |
| آدرس صفحه اصلی | https://github.com/mdbernard/attlesnake |
| آدرس اینترنتی | https://pypi.org/project/attlesnake/ |
| مجوز | - |
# attlesnake: Attitude Dynamics in Python
A Python library for handling rigid body attitude dynamics (tailored for spacecraft).
## Installation
Install with pip:
```bash
pip install attlesnake
```
## Basic Usage
```python
>>> import numpy as np
>>> import attlesnake as att
>>> ea321 = att.EulerAngle321(np.pi/2, 0, 0)
>>> print(ea321)
1.5708, 0.0000, 0.0000
>>> dcm = att.DCM.from_ea321(ea321)
>>> print(dcm)
0.0, 1.0, -0.0
-1.0, 0.0, 0.0
0.0, 0.0, 1.0
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl attlesnake-0.2.0:
pip install attlesnake-0.2.0.whl
نصب پکیج tar.gz attlesnake-0.2.0:
pip install attlesnake-0.2.0.tar.gz