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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" | |
" | |
" CUSTON CONFIGURATION FOR VIM | |
" Author: Jorge Martínez | |
" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
""""""""""""""""""""""""""""""""""""""""""""""""""" VIM General: Configuration | |
set nocompatible " required |
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
""" This script holds the function for plotting the groundtracks. """ | |
# Poliastro modules | |
from poliastro.twobody import Orbit | |
from poliastro.bodies import Earth | |
# Astropy modules | |
from astropy import coordinates as coord | |
from astropy import units as u |
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
import numpy as np | |
from astropy import units as u | |
from poliastro.bodies import Earth | |
from poliastro.core.angles import ( | |
E_to_nu, | |
_kepler_equation, | |
_kepler_equation_prime, | |
nu_to_M, | |
) |
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
Σ Φ Ψ Ξ Δ λ Ψ Δ Λ Σ Φ Δ λ Ψ ξ Δ ϗ Ξ Δ Φ Ψ Ξ ϑ λ Ψ Λ Σ Θ ϑ Ξ ϗ Φ ϑ λ Ψ Σ Ξ Ψ λ ϑ Ξ Ψ ζ β Σ φ Δ Ψ Σ Φ Ψ Σ Ξ Ψ ξ Λ ϗ Ξ Ξ ϑ Ψ ϖ Σ Ξ Ψ Π Σ ϖ Λ Σ φ Δ Ξ Ψ Ω Ψ Π Λ Σ Φ ϖ ϗ ϖ ϑ Ψ Δ Ψ Ξ Δ Ψ Θ Δ φ ϗ Δ Ψ ϖ Σ Ψ Ξ ϑ λ Ψ Γ Δ Θ ϗ Φ ϑ λ Ψ Σ Ξ Ψ Δ Λ Λ ϗ Σ Λ ϑ Ψ α Δ Ψ Σ Ξ Ψ Δ Λ Λ ϗ Σ Λ ϑ Ψ α Δ Ψ Σ λ Ψ ξ Δ Φ ϖ Σ Λ Δ Ψ ϖ Σ Ψ Φ ϗ Σ ξ Ξ Δ Ψ λ β Ψ Π ϑ Φ Γ Ρ ϑ Ψ Δ Ξ Ψ α ϗ Σ Φ μ ϑ Ψ Ξ ϑ Ψ λ Δ Ξ β ϖ Δ Φ Ψ Ξ Δ λ Ψ ε Ξ Δ β μ Δ λ Ψ ϖ Σ Ξ Ψ Π Δ ζ ϑ Φ Δ Ξ Ψ Ω Ψ Δ Φ ϗ Θ Δ Φ ϖ ϑ Ψ Ξ Δ Ψ μ Λ ϑ Π Δ Ψ Π Δ Λ Ψ Σ λ ϑ λ Ψ Γ Σ Λ Λ ϑ λ Ψ Σ Ξ Ψ Δ Λ Λ ϗ Σ Λ ϑ Ψ α Δ Ψ Σ Ξ Ψ Δ Λ Λ ϗ Σ Λ ϑ Ψ α Δ Ψ Ξ Δ λ Ψ Π Σ Φ Δ λ Ψ Ω Ψ Ξ Δ λ Ψ α Δ η β ϗ μ Δ λ Ψ λ Σ Ψ α Δ Φ Ψ Π Δ Λ Ψ Ξ Δ Ψ Θ ϗ λ Θ Δ Ψ λ Σ Φ ϖ Δ Ψ Ξ Δ λ Ψ Π Σ Φ Δ λ Ψ λ ϑ Φ Ψ ϖ Σ Ψ Φ ϑ λ ϑ μ Λ ϑ λ Ψ Ξ Δ λ Ψ α Δ η β ϗ μ Δ λ Ψ λ ϑ Φ Ψ Δ ζ Σ Φ Δ λ |
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 astropy import units as u | |
from poliastro.bodies import Earth | |
from poliastro.twobody import Orbit | |
from poliastro.twobody.propagation import cowell, kepler_improved | |
def test_near_parabolic_orbit(): | |
""" Compares Cowell and Kepler improved propagators for bug in #474. """ | |
r = [8.0e3, 1.0e3, 0.0] * u.km |
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
import matplotlib.pyplot as plt | |
from astropy import units as u | |
from astropy.time import Time | |
from poliastro.bodies import Earth | |
from poliastro.frames import GeocentricSolarEcliptic | |
from poliastro.plotting.static import StaticOrbitPlotter | |
from poliastro.twobody import Orbit | |
EPOCH = Time("2018-02-19") |
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
import matplotlib.pyplot as plt | |
from astropy import units as u | |
from astropy.time import Time | |
from poliastro.bodies import Earth, Mars | |
from poliastro.maneuver import Maneuver | |
from poliastro.plotting.static import StaticOrbitPlotter | |
from poliastro.twobody import Orbit | |
# Departure and time of flight for the mission |
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 astropy import units as u | |
from poliastro.twobody.angles import nu_to_M | |
from poliastro.core.angles import nu_to_M as nu_to_M_core | |
nu = 150 * u.deg | |
ecc = 0.08 * u.one | |
# If making use of radians in high-level function | |
M = nu_to_M(nu.to(u.rad), ecc) | |
print("\nHigh level function radian input results") |
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 astropy.io import ascii | |
from astropy import units as u | |
from poliastro.atmosphere.models import COESA62 | |
from prettytable import PrettyTable | |
import numpy as np | |
coesa62 = COESA62() | |
t = PrettyTable() | |
t.align='l' |
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
# -*- coding: utf-8 -*- | |
""" | |
Introductory example - Plotting sin | |
=================================== | |
This is a general example demonstrating a Matplotlib plot output, embedded | |
rST, the use of math notation and cross-linking to other examples. It would be | |
useful to compare the :download:`source Python file <plot_0_sin.py>` with the | |
output below. |
OlderNewer