pyrex.earth_model.CoreMantleCrustModel¶
-
class
pyrex.earth_model.
CoreMantleCrustModel
¶ Class describing the Earth’s density.
Uses densities from the Core-Mantle-Crust model as implemented in AraSim.
- Attributes
- earth_radiusfloat
Mean radius of the Earth (m).
- radiituple
Boundary radii (m) at which the functional form of the density of the Earth changes. The density function in
densities
at index i corresponds to the radius range from radius at index i-1 to radius at index i.- densitiestuple
Functions which calculate the density of the Earth (g/cm^3) in a specific radius range as described by
radii
. The parameter of each function is the fractional radius, e.g. radius divided byearth_radius
. Scalar values denote constant density over the range of radii.
Methods
density
(r)Calculates the Earth’s density at a given radius.
slant_depth
(endpoint, direction[, step])Calculates the column density of a chord cutting through Earth.