This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from poliastro.iod.vallado import lambert as vallado | |
| from astropy import units as u, constants as c | |
| if __name__ == "__main__": | |
| k = (c.GM_earth.to(u.km ** 3/ u.s ** 2)) | |
| r0 = [10000., 0, 0] * u.km | |
| rf = [8000., -5000, 0] * u.km | |
| tof = 2 * u.hour | |
| numiter = 10**3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from poliastro.iod.vallado import lambert as lambert_v | |
| from poliastro.iod.izzo import lambert as lambert_i | |
| from astropy import units as u, constants as c | |
| if __name__ == "__main__": | |
| k = (c.GM_earth.to(u.km ** 3/ u.s ** 2)) | |
| r0 = ([10000., 0, 0] * u.km) | |
| rf = ([8000., -5000, 0] * u.km) | |
| tof = 2*u.hour |
NewerOlder