altar.models.seismic.Moment
Module Contents
Classes
- class altar.models.seismic.Moment.Moment(name, locator, **kwds)
Bases:
altar.distributions.Uniform.UniformThe probability distribution for displacements (D) conforming to a given Moment magnitude scale Mw = (log M0 - 9.1)/1.5 (Hiroo Kanamori) M0 = Mu A D It inherits uniform distribution for verification and density calculations, while generates samples for a combined gaussian and dirichlet distributions
- area_patches_file
- doc = input file for area of each patch, in unit of km^2
- area
- doc = total area in unit of km^2
- Mw_mean
- doc = the mean moment magnitude scale
- Mw_sigma
- doc = the variance of moment magnitude scale
- Mu
- doc = the shear modulus in unit of GPa
- area_patches
- patches
- initialize(self, rng)
Initialize with the given random number generator
- initializeSample(self, theta)
Fill my portion of {theta} with initial random values from my distribution.