Skip to main content

LambertProblem

LambertProblem is a package that contain methods for solving the Lambert Problem in orbital mechanics

version downloads

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.

Space orbits gif

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)

Source distribution for LambertProblem 0.8
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

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page