Python Wrapper for ivlam
This is a python wrapper of the Fortran code of Russell's Lambert Solver.
Install
pip install ivlam
Usage
Initialize
from ivlam import *
infoload = ivlam.initialize(-1)
if(infoload!=0):
print('Error in ivlam_initialize')
Solve the Problem
r1vec=np.array([1.0,2.0,3.0])
r2vec=np.array([2.0,-3.0,-4.0])
tof=450.0
prograde=True
direction=ivlam.getdirection(prograde,r1vec,r2vec)
dimensionV=10
v1vec,v2vec,uptonhave,inforeturnstatusn,infohalfrevstatus = ivlam.thrun(r1vec,r2vec,tof,direction,dimensionV,dimensionV)
if(inforeturnstatusn!=0):
print('Error in ivlam_thrun')
if(infohalfrevstatus!=0):
print('This example is very close to the nPi transfer')
print(v1vec[:,dimensionV-uptonhave:dimensionV+uptonhave+1])
print(v2vec[:,dimensionV-uptonhave:dimensionV+uptonhave+1])
License
GNU General Public License v3 or later (GPLv3+)
Reference
[1] Russell, Ryan P., "On the Solution to Every Lambert Problem," Celestial Mechanics and Dynamical Astronomy, Vol. 131, Article 50, 2019, pp. 1-33, https://dx.doi.org/10.1007/s10569-019-9927-z
[2] Russell, Ryan P., "Complete Lambert Solver Including Second-Order Sensitivities," Journal of Guidance, Control, and Dynamics, accepted 2021, https://doi.org/10.2514/1.G006089
Metadata
Release files for ivlam 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ivlam-0.2.0.tar.gz | 908.4 kB | Details |
Release files / ivlam-0.2.0.tar.gz
| Download URL | ivlam-0.2.0.tar.gz |
|---|---|
| Size | 908.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94c7b574733a423ac2d773d74855388b9e50a05945960a555843e9d0f9d62d43
|
|
BLAKE2b-256 checksum How to use checksums |
42b278540e293ce2f948762fb3787c4569fda8126370d0f7767be187bf8fe459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2025.
Transparency log