Skip to content

Commit d7ef619

Browse files
Good to go
1 parent de12cac commit d7ef619

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

docs/anise/reference/mathspec/interpolation/chebyshev.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ For $j = N \to 2$:
5252

5353
$$ f'(x) = \frac{w_0 + xdw_0 - dw_1}{r_s} $$
5454

55+
## Output
56+
57+
The algorithm returns a tuple $(f, f')$ where:
58+
59+
- $f$ is the interpolated function value at $x$
60+
- $f'$ is the interpolated derivative at $x$
61+
62+
!!! note
63+
A variation of this algorithm is used for Type 3 SPK/BSP SPICE files where the time derivative is not computed.
64+
5565
## Error Handling
5666

5767
The implementation checks for:
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
ANISE, like SPICE, heavily relies on interpolation for ephemeris and attitude trajectories. This section details each of the algorithms used in ANISE.
1+
ANISE, like SPICE, heavily relies on interpolation for ephemeris and attitude trajectories. This section details each of the algorithms used in ANISE.
2+
3+
- [Chebyshev](./chebyshev.md)
4+
- [Hermite](./hermite.md)
5+
- [Lagrange](./lagrange.md)

docs/nyxspace/MathSpec/celestial/interpolation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ For details on interpolation methods for trajectories, including [Chebyshev](../
44

55
Interpolated trajectories are computed in parallel leading to a negligible impact in computational performance. To build a trajectory from a propagation event, call the [`for_duration_with_traj()`](https://rustdoc.nyxspace.com/nyx_space/propagators/struct.PropInstance.html#method.for_duration_with_traj) function on the propagator. Note that all of the event finding requires an interpolated trajectory.
66

7-
Trajectories in Nyx are a simple list of discrete states interpolated using the [Hermite interpolation](../../../anise/reference/mathspec/interpolation/hermite.md). They are akin to the NASA/SPICE Hermite Type 13 interpolator.
7+
Trajectories in Nyx are a simple list of discrete states interpolated using the [Hermite interpolator](../../../anise/reference/mathspec/interpolation/hermite.md). They are akin to the NASA/SPICE Hermite Type 13 interpolator.
88

99
Spacecraft trajectories can be transformed into another frame by transforming each of the individual states into the desired frame.
1010

1111
!!! warning
12-
Transforming a trajectory into another frame _is different_ from propagating the original spacecraft in that other frame. A propagator will advance with a different step depending on the central body, refe to [the reference on propagator](../../../nyxspace/MathSpec/propagators.md).
12+
Transforming a trajectory into another frame _is different_ from propagating the original spacecraft in that other frame. A propagator will advance with a different step depending on the central body, refer to [the reference on propagator](../../../nyxspace/MathSpec/propagators.md).
1313

14-
For example, propagating a spacecraft defined in the Earth Mean J2000 (EME2000) inertial frame when accounting for the point mass gravity of the Earth and the Moon and transforming that trajectory into a Moon J2000 centered frame will lead to a different trajectory that propagating that same inertial state defined in the Moon J2000 frame.
14+
For example, propagating a spacecraft defined in the Earth J2000 inertial frame when accounting for the gravitational forces of the Earth and the Moon, and transforming that trajectory into a Moon J2000 centered frame will lead to a different trajectory that propagating that same inertial state defined in the Moon J2000 frame.
1515

1616
## Trajectory Ephemeris Integration Test
1717

0 commit comments

Comments
 (0)