Description
Provides access to the properties and methods used in defining a sensor object.
Public Methods
Public Properties
AccessConstraints | Get constraints imposed on the sensor. |
AzElMask | Get the az-el mask. |
AzElMaskData | Get az-el mask data for the sensor. |
CommonTasks | Returns an interface that exposes common tasks. |
DetectorPitch | Detector pitch used in defining senor resolution. Uses SmallDistanceUnit Dimension. |
FocalLength | Focal length used in defining sensor resolution. Uses SmallDistanceUnit Dimension. |
Graphics | Get the 2D Graphics properties for the sensor. |
LocationData | Get location data for the sensor. The sensor's center point is invalid; all other points are valid choices for the location data. |
LocationType | The location type being used by the sensor. |
Pattern | Get data defining the sensor pattern. |
PatternType | Criterion for defining the sensor pattern. A member of the AgESnPattern enumeration. |
Pointing | Get pointing data for the sensor. |
PointingType | The sensor's pointing type. A member of the AgESnPointing enumeration. |
Refraction | Refraction method, a member of the AgESnRefractionType enumeration. |
RefractionModel | Gets a refraction model. |
RefractionSupportedTypes | Returns an array of valid choices. |
Swath | Get the sensor's swath. |
UseRefractionInAccess | Flag controls whether refraction is applied when computing relative position in Access. |
VO | Get the 3D Graphics properties for the sensor. |
Interfaces
CoClasses that Implement IAgSensor
Example
Attach a Sensor Object to a Vehicle
[Python - STK API] |
---|
# IAgSatellite satellite: Satellite object
sensor = satellite.Children.New(AgESTKObjectType.eSensor, 'MySensor')
|
|
Set Sensor Properties
[Python - STK API] |
---|
# IAgSensor sensor: Sensor object
# Change pattern and set
sensor.CommonTasks.SetPatternRectangular(20, 25)
# Change pointing and set
sensor.CommonTasks.SetPointingFixedAzEl(90, 60, AgEAzElAboutBoresight.eAzElAboutBoresightRotate)
# Change location and set
sensor.SetLocationType(AgESnLocation.eSnFixed)
sensor.LocationData.AssignCartesian(-.0004, -.0004, .004)
|
|
Sensor Body Mask
[Python - STK API] |
---|
# IAgSensor sensor: Sensor object
sensor.SetAzElMaskFile(r'C:\Program Files\AGI\STK 12\Data\Resources\stktraining\text\BodyMask_hga.bmsk')
|
|
Attach a Sensor Object to a Vehicle
[MATLAB] |
---|
% IAgSatellite satellite: Satellite object
sensor = satellite.Children.New('eSensor', 'MySensor');
|
|
Set Sensor Properties
[MATLAB] |
---|
% IAgSensor sensor: Sensor object
% Change pattern and set
sensor.CommonTasks.SetPatternRectangular(20, 25);
% Change pointing and set
sensor.CommonTasks.SetPointingFixedAzEl(90, 60, 'eAzElAboutBoresightRotate');
% Change location and set
sensor.SetLocationType('eSnFixed');
sensor.LocationData.AssignCartesian(-.0004, -.0004, .004);
|
|
Set a Targeted Sensor
[MATLAB] |
---|
% IAgSensor sensor: Sensor object
sensor.CommonTasks.SetPointingTargetedTracking('eTrackModeTranspond', 'eBoresightRotate', '*/AreaTarget/MyAreaTarget');
|
|
Sensor Body Mask
[MATLAB] |
---|
% IAgSensor sensor: Sensor object
sensor.SetAzElMaskFile('C:\Program Files\AGI\STK 12\Data\Resources\stktraining\text\BodyMask_hga.bmsk');
|
|