This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 282
Ideas for fast interpolation
Juan Luis Cano Rodríguez edited this page Jan 9, 2022
·
2 revisions
- Refactor interpolation methods from the current Enum + Dict to a proper class with a method
- Those classes have a "raw interpolate" method that doesn't take units
-
Cannot inherit from a
@jitclass
we could use composition instead
-
Cannot inherit from a
-
Ephem
takes an interpolation method instance andEphem.sample
calls the correspondinginterpolate
method - We add a (private?) "raw sample" method without error checks that calls the "raw interpolate" method
Notes:
- Try to do this in a way that doesn't feel like a mega hack
- Will we need
Ephem
for thebuild_ephem_interpolant
at all?
Be part of the poliastro community by joining our social media channels and stay up to date with current developments!