LambertProblem


NameLambertProblem JSON
Version 0.8 PyPI version JSON
download
home_pagehttps://pypi.org/project/LambertProblem
SummarySolve the lambert problem for orbital mechanics
upload_time2023-06-14 02:41:22
maintainer
docs_urlNone
authorjuaniuwu
requires_python
licenseMIT
keywords lambert equation orbital mechanics solve
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LambertProblem
## LambertProblem is a package that contain methods for solving the Lambert Problem in orbital mechanics 

<!-- This are visual tags that you may add to your package at the beginning with useful information on your package --> 
[![version](https://img.shields.io/pypi/v/LambertProblem?color=blue)](https://pypi.org/project/LambertProblem/)
[![downloads](https://img.shields.io/pypi/dw/LambertProblem)](https://pypi.org/project/LambertProblem/)

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. 


<p align="center"><img src="https://solarsystem.nasa.gov/bosf/images/05-Geostationary%20Satellite-STILL-715x415.jpg" alt="Space orbits gif""/></p>

## 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



            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/LambertProblem",
    "name": "LambertProblem",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Lambert equation orbital mechanics solve",
    "author": "juaniuwu",
    "author_email": "juanita.agudelo@udea.edu.co",
    "download_url": "https://files.pythonhosted.org/packages/44/c6/b6c174b1fb72ceb2613701c7e2aefc0d71bcef551af6720b8cdd183715ed/LambertProblem-0.8.tar.gz",
    "platform": null,
    "description": "# LambertProblem\n## LambertProblem is a package that contain methods for solving the Lambert Problem in orbital mechanics \n\n<!-- This are visual tags that you may add to your package at the beginning with useful information on your package --> \n[![version](https://img.shields.io/pypi/v/LambertProblem?color=blue)](https://pypi.org/project/LambertProblem/)\n[![downloads](https://img.shields.io/pypi/dw/LambertProblem)](https://pypi.org/project/LambertProblem/)\n\nThis 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.\n\nThe 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. \n\nThe 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. \n\n\n<p align=\"center\"><img src=\"https://solarsystem.nasa.gov/bosf/images/05-Geostationary%20Satellite-STILL-715x415.jpg\" alt=\"Space orbits gif\"\"/></p>\n\n## Download and install\n\nIf you are using `PyPI` installation it's as simple as:\n\n```\npip install LambertProblem\n```\n\nYou can also test the unstable version of the package with:\n\n```\npip install -i https://test.pypi.org/simple/ LambertProblem\n```\n\n## Quick start\n\nFirst, import the package:\n```\nimport LambertProblem \n\n```\n\n## Code examples\n\nFor creating ellipses with semi mayor value and eccentricity: \n\n```\nelipse = LambertProblem.Ellipse(a = 2, e = 0.3)\n```\nFor creating ellipses with semi mayor value and semi minor value: \n\n```\nelipse = LambertProblem.Ellipse(a = 2, b = 1)\n```\nFor solvin the lambert equation given a value of time: \n\n```\na = LambertProblem.LambertProblem(r1 = 1, r2 = 1.5, theta = 1.309, t = 1.978)\n```\nFor solvin the lambert equation given a value of time: \n\n```\nt1, t2 = LambertProblem.LambertProblem(r1 = 1, r2 = 1.5, theta = 1.309, a = 1.23)\n```\n\nVersion 0.6:\n\n- six version of the package.\n\n------------\n\nThis package has been designed and written by juaniuwu (C) 2023\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Solve the lambert problem for orbital mechanics",
    "version": "0.8",
    "project_urls": {
        "Homepage": "https://pypi.org/project/LambertProblem"
    },
    "split_keywords": [
        "lambert",
        "equation",
        "orbital",
        "mechanics",
        "solve"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44c6b6c174b1fb72ceb2613701c7e2aefc0d71bcef551af6720b8cdd183715ed",
                "md5": "c1c1c742b24dd387407631245c92efe3",
                "sha256": "af1f4270d5abbc29fece4ad5c2e1f4561185f86aeea8c17df9057074277c5e99"
            },
            "downloads": -1,
            "filename": "LambertProblem-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "c1c1c742b24dd387407631245c92efe3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4693,
            "upload_time": "2023-06-14T02:41:22",
            "upload_time_iso_8601": "2023-06-14T02:41:22.103949Z",
            "url": "https://files.pythonhosted.org/packages/44/c6/b6c174b1fb72ceb2613701c7e2aefc0d71bcef551af6720b8cdd183715ed/LambertProblem-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-14 02:41:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lambertproblem"
}
        
Elapsed time: 0.08190s