Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Frames improvements #446

Merged
merged 7 commits into from Sep 7, 2018
Merged

Conversation

astrojuanlu
Copy link
Member

@astrojuanlu astrojuanlu commented Sep 5, 2018

Things that we will not do:

  • Orbit.transform_to(frame): it will have to wait until we have proper checks for propagation
    • But we could have a function that changes the plane instead!
  • Have Orbit.rv() return a CartesianRepresentation with differentials
  • Make plotter objects fully frame-aware: it will have to wait until we have perifocal frames

This removes the need to manually set the frame for ecliptic orbits
and offers a simple way to change the reference frame
without knowing everything.
@astrojuanlu
Copy link
Member Author

Perturbation tests are failing probably because I changed the Moon frame back to GCRS.

@codecov
Copy link

codecov bot commented Sep 7, 2018

Codecov Report

Merging #446 into master will decrease coverage by 0.26%.
The diff coverage is 89.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #446      +/-   ##
==========================================
- Coverage   85.76%   85.49%   -0.27%     
==========================================
  Files          47       47              
  Lines        2086     2096      +10     
  Branches      162      161       -1     
==========================================
+ Hits         1789     1792       +3     
- Misses        258      263       +5     
- Partials       39       41       +2
Impacted Files Coverage Δ
src/poliastro/ephem.py 100% <100%> (ø) ⬆️
src/poliastro/neos/neows.py 92.45% <100%> (-0.14%) ⬇️
src/poliastro/plotting.py 86.17% <100%> (ø) ⬆️
src/poliastro/frames.py 68.47% <80%> (+5.18%) ⬆️
src/poliastro/twobody/orbit.py 94.11% <93.1%> (-1.91%) ⬇️
src/poliastro/coordinates.py 78.72% <0%> (-8.52%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9a5a23...2b0b082. Read the comment docs.

@astrojuanlu
Copy link
Member Author

I ran out of time to do the rest before the beta, so I'm merging this!

@astrojuanlu astrojuanlu changed the title WIP: Frames improvements Frames improvements Sep 7, 2018
@astrojuanlu astrojuanlu merged commit 1453bad into poliastro:master Sep 7, 2018
@ghost ghost removed the 2 - In Progress label Sep 7, 2018
@astrojuanlu astrojuanlu deleted the frames-improvements branch September 7, 2018 10:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant