Spacecraft.MagneticField(Sensor) Method

Top 

Description

Returns the Earth's magnetic field vector at the Spacecraft's current position using the coordinate system of sensor to express the vector.

 

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

Spacecraft.MagneticField(

Sensor sensor)

 

 

Arguments

sensor


Description:

Sensor whose coordinate system will be used to express the magnetic field vector.

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

nT

 

 

Returns the Earth's magnetic field vector at the Spacecraft's current position.

 

Syntax

myArray1 = mySpacecraft1.MagneticField(mySensor1);

 

 

See also

Spacecraft Object

Spacecraft.MagneticField

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide