Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nanospace-python-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nanostar
nanospace
nanospace-clients
nanospace-python-client
Commits
a1244eb6
Commit
a1244eb6
authored
Jul 23, 2019
by
lucien senaneuch
Committed by
GATEAU Thibault
Dec 19, 2022
Browse files
Options
Downloads
Patches
Plain Diff
[Readme] swagger doc
parent
7beb5d25
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_py_astro.py
+13
-0
13 additions, 0 deletions
test_py_astro.py
with
13 additions
and
0 deletions
test_py_astro.py
0 → 100644
+
13
−
0
View file @
a1244eb6
import
matplotlib.pyplot
as
plt
from
astropy
import
units
as
u
from
poliastro.bodies
import
Earth
,
Mars
,
Sun
from
poliastro.twobody
import
Orbit
# Data from Curtis, example 4.3
r
=
[
-
6045
,
-
3490
,
2500
]
*
u
.
km
v
=
[
-
3.457
,
6.618
,
2.533
]
*
u
.
km
/
u
.
s
ss
=
Orbit
.
from_vectors
(
Earth
,
r
,
v
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment