Package SatStress :: Module SatStress :: Class GravitationallyUnstableSatelliteError
[frames] | no frames]

Class GravitationallyUnstableSatelliteError

source code

              object --+                    
                       |                    
exceptions.BaseException --+                
                           |                
        exceptions.Exception --+            
                               |            
                           Error --+        
                                   |        
                 SatelliteParamError --+    
                                       |    
              InvalidSatelliteParamError --+
                                           |
                                          GravitationallyUnstableSatelliteError

Raised if the density of layers is found not to decrease as you move toward the surface from the center of the satellite.

Instance Methods
 
__init__(self, sat, layer_n)
Overrides the base InvalidSatelliteParamError.__init__() function.
source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, sat, layer_n)
(Constructor)

source code 

Overrides the base InvalidSatelliteParamError.__init__() function.

We also need to know which layers have a gravitationally unstable arrangement.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)