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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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