Skip to main content

Solve the lambert problem for orbital mechanics

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LambertProblem-0.8.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file LambertProblem-0.8.tar.gz.

File metadata

  • Download URL: LambertProblem-0.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for LambertProblem-0.8.tar.gz
Algorithm Hash digest
SHA256 af1f4270d5abbc29fece4ad5c2e1f4561185f86aeea8c17df9057074277c5e99
MD5 c1c1c742b24dd387407631245c92efe3
BLAKE2b-256 44c6b6c174b1fb72ceb2613701c7e2aefc0d71bcef551af6720b8cdd183715ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page