Satellite#
- class ansys.stk.core.stkobjects.Satellite#
Bases:
ISTKObject
,ILifetimeInformation
,IProvideSpatialInfo
Satellite properties.
Overview#
Set the propagator type. |
|
Set the attitude type. |
|
Get a value indicating whether the specified type can be used. |
|
Get a value indicating whether the specified type can be used. |
Get the type of propagator used to define the satelliteβs orbit. |
|
Get information for the propagator. |
|
Get the type of the satelliteβs attitude. |
|
Return an array of valid choices. |
|
Get the Attitude properties of the satellite. |
|
Get the Mass properties of the satellite. |
|
Get the Pass Break properties of the satellite. |
|
Get the Ground Ellipses properties of the satellite. |
|
Get the 2D Graphics properties of the satellite. |
|
Get the 3D Graphics properties of the satellite. |
|
Get the constraints imposed on the satellite. |
|
Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations. |
|
Return an array of valid choices. |
|
Return the SatelliteExportTools interface. |
|
Get the SpaceEnvironment properties of the satellite. |
|
Get the reference vehicle of the satellite. |
|
Return the radar clutter map. |
|
Return the radar cross sectoin. |
|
Opt whether to compute lighting using terrain data. |
|
Do not use this property, as it is deprecated. Use LightingMaxStepTerrain or LightingMaxStepCbShape as appropriate. The maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. |
|
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension. |
|
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is false. Uses Time Dimension. |
|
Get the EOIR properties of the satellite. |
Examples#
Set satellite attitude external
# Satellite satellite: Satellite object
if os.name == "nt":
installPath = r"C:\Program Files\AGI\STK 12"
else:
installPath = os.environ["STK_INSTALL_DIR"]
satellite.attitude.external.load(
os.path.join(installPath, "Data", "Resources", "stktraining", "text", "AttitudeTimeEulerAngles_Example.a")
)
Set satellite attitude targeting
# Satellite satellite: Satellite object
attitudePointing = satellite.attitude.pointing
attitudePointing.use_target_pointing = True
attitudePointing.targets.remove_all()
attitudePointing.targets.add("AreaTarget/MyAreaTarget")
attitudePointing.target_times.use_access_times = True
Set satellite attitude basic spinning
# Satellite satellite: Satellite object
basic = satellite.attitude.basic
basic.set_profile_type(AttitudeProfile.SPINNING)
basic.profile.body.assign_xyz(0, 0, 1)
basic.profile.inertial.assign_xyz(0, 1, 0)
basic.profile.rate = 6 # rev/sec
Create a satellite (on the current scenario central body)
# STKObjectRoot root: STK Object Model Root
satellite = root.current_scenario.children.new(STKObjectType.SATELLITE, "MySatellite")
Import detail#
from ansys.stk.core.stkobjects import Satellite
Property detail#
- property Satellite.propagator_type: PropagatorType#
Get the type of propagator used to define the satelliteβs orbit.
- property Satellite.propagator: IPropagator#
Get information for the propagator.
- property Satellite.attitude_type: VehicleAttitude#
Get the type of the satelliteβs attitude.
- property Satellite.attitude: IVehicleAttitude#
Get the Attitude properties of the satellite.
- property Satellite.mass_properties: VehicleMassProperties#
Get the Mass properties of the satellite.
- property Satellite.ground_ellipses: VehicleGroundEllipsesCollection#
Get the Ground Ellipses properties of the satellite.
- property Satellite.graphics: SatelliteGraphics#
Get the 2D Graphics properties of the satellite.
- property Satellite.graphics_3d: SatelliteGraphics3D#
Get the 3D Graphics properties of the satellite.
- property Satellite.access_constraints: AccessConstraintCollection#
Get the constraints imposed on the satellite.
- property Satellite.eclipse_bodies: VehicleEclipseBodies#
Get the customized list of Eclipse Bodies, which are central bodies used in lighting computations.
- property Satellite.export_tools: SatelliteExportTools#
Return the SatelliteExportTools interface.
- property Satellite.space_environment: SpaceEnvironment#
Get the SpaceEnvironment properties of the satellite.
- property Satellite.reference_vehicle: LinkToObject#
Get the reference vehicle of the satellite.
- property Satellite.radar_clutter_map: IRadarClutterMapInheritable#
Return the radar clutter map.
- property Satellite.radar_cross_section: RadarCrossSectionInheritable#
Return the radar cross sectoin.
- property Satellite.use_terrain_in_lighting_computations: bool#
Opt whether to compute lighting using terrain data.
- property Satellite.lighting_maximum_step: float#
Do not use this property, as it is deprecated. Use LightingMaxStepTerrain or LightingMaxStepCbShape as appropriate. The maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension.
- property Satellite.lighting_maximum_step_terrain: float#
Get or set the maximum step size to use when computing lighting when UseTerrainInLightingComputations is true. Uses Time Dimension.
Method detail#
- Satellite.set_propagator_type(self, propagator: PropagatorType) None #
Set the propagator type.
- Parameters:
propagator :
PropagatorType
- Returns:
- Satellite.set_attitude_type(self, attitude: VehicleAttitude) None #
Set the attitude type.
- Parameters:
attitude :
VehicleAttitude
- Returns:
- Satellite.is_attitude_type_supported(self, attitude: VehicleAttitude) bool #
Get a value indicating whether the specified type can be used.
- Parameters:
attitude :
VehicleAttitude
- Returns:
- Satellite.is_propagator_type_supported(self, propagator: PropagatorType) bool #
Get a value indicating whether the specified type can be used.
- Parameters:
propagator :
PropagatorType
- Returns: