LambertProblem
LambertProblem is a package that contain methods for solving the Lambert Problem in orbital mechanics
This package contain some methods for solve the Lambert Problem in orbital mechanics, and also have a class name Ellipse wich calculate the points of an ellipse.
The method LambertProblem solve the Lambert Equation for a value of semi mayor axis or for a value of transfer time. The method requires the distance for the focus to the two points (r1, r2) and the angle between both radio positions.
The class Ellipse create a ellipse with center in the center of coordinates and parallel to the x axis. The class is initialized with the value of semi mayor axis from the ellipse and the eccentricity or with the semi minor axis.
Download and install
If you are using PyPI installation it's as simple as:
pip install LambertProblem
You can also test the unstable version of the package with:
pip install -i https://test.pypi.org/simple/ LambertProblem
Quick start
First, import the package:
import LambertProblem
Code examples
For creating ellipses with semi mayor value and eccentricity:
elipse = LambertProblem.Ellipse(a = 2, e = 0.3)
For creating ellipses with semi mayor value and semi minor value:
elipse = LambertProblem.Ellipse(a = 2, b = 1)
For solvin the lambert equation given a value of time:
a = LambertProblem.LambertProblem(r1 = 1, r2 = 1.5, theta = 1.309, t = 1.978)
For solvin the lambert equation given a value of time:
t1, t2 = LambertProblem.LambertProblem(r1 = 1, r2 = 1.5, theta = 1.309, a = 1.23)
Version 0.6:
- six version of the package.
This package has been designed and written by juaniuwu (C) 2023
Metadata
Release files for LambertProblem 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| LambertProblem-0.8.tar.gz | 4.7 kB | Details |
Release files / LambertProblem-0.8.tar.gz
| Download URL | LambertProblem-0.8.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af1f4270d5abbc29fece4ad5c2e1f4561185f86aeea8c17df9057074277c5e99
|
|
BLAKE2b-256 checksum How to use checksums |
44c6b6c174b1fb72ceb2613701c7e2aefc0d71bcef551af6720b8cdd183715ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|