SpiceEphemeris.OrientationAtEpoch(Variable) Method

Top 

Description

Returns the orientation of the state contained in the SPICE ephemeris at the specified epoch. If the SPICE file does not contain orientation data, an error will be generated.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

SpiceEphemeris.OrientationAtEpoch(

Variable epoch)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the orientation.

 

 

 

Return Value

Type:

Array of number (size = 7)

 

 

Returns a 7-element Array containing the orientation of the state contained in the SPICE ephemeris at the specified epoch. The first four elements of the Array will contain quaternions. The last three elements of the Array return the angular velocity of the state in degrees/second.

 

Syntax

myArray1 = mySpiceEphemeris1.OrientationAtEpoch(myVariable1);

 

 

See also

SpiceEphemeris Object

SPICE Ephemeris Guide