__init__(self,
sat,
layer_n=0)
(Constructor)
| source code
|
Construct an object representing a layer within a Satellite.
Gets values from the Satellite.satParams dictionary for the layer that
corresponds to the value of layer_n .
Each layer is defined by seven parameter values, and each layer has a
unique numeric identifier, appended to the end of all the names of its
parameters. Layer zero is the core, with the number increasing as the
satellite is built up toward the surface. In the below list the
"N" at the end of the parameter names should be replaced with
the number of the layer (layer_n ). Currently, because of
the constraints of the Love number code that we are using, you must
specify 4 layers (CORE , OCEAN ,
ICE_LOWER , ICE_UPPER ).
-
LAYER_ID_N : A string identifying the layer, e.g.
OCEAN or ICE_LOWER
-
DENSITY_N : The density of the layer at zero
pressure [m kg^-3]
-
LAME_MU_N : The real-valued Lame parameter μ
(shear modulus) [Pa]
-
LAME_LAMBDA_N : The real-valued Lame parameter
λ [Pa]
-
THICKNESS_N : The thickness of the layer [m]
-
VISCOSITY_N : The viscosity of the layer [Pa s]
-
TENSILE_STRENGTH_N : The tensile strength of the
layer [Pa]
Not all layers necessarily require all parameters in order for the
calculation to succeed, but it is required that they be provided.
Parameters that will currently be ignored:
-
TENSILE_STRENGTH of all layers except for the
surface (which is only used when creating fractures).
-
VISCOSITY of the ocean and the core.
-
LAME_MU of the ocean, assumed to be zero.
- Parameters:
sat (Satellite) - the Satellite object to which the layer belongs.
layer_n (int) - layer_n indicates which layer in the satellite is being defined,
with n=0 indicating the center of the satellite, and increasing
outward. This is needed in order to select the appropriate
values from the Satellite.satParams dictionary.
- Returns: SatLayer
- a SatLayer object having the properties specified
in the
- Raises:
- Overrides:
object.__init__
|