altar.models.cdm

Subpackages

Submodules

Package Contents

Classes

Functions

class altar.models.cdm.source(x=x, y=y, d=d, ax=ax, ay=ay, az=az, omegaX=omegaX, omegaY=omegaY, omegaZ=omegaZ, opening=opening, v=v, **kwds)

The source response for a Compound Dislocation Model in an elastic half space.

x = 0
y = 0
d = 0
ax = 0
ay = 0
az = 0
omegaX = 0
omegaY = 0
omegaZ = 0
opening = 0
v = 0.25
displacements(self, locations, los)

Compute the expected displacements at a set of observation locations from a compound (triaxial) dislocation source at depth.

class altar.models.cdm.data(name, **kwds)

Bases: altar.tabular.sheet

The layout of the input data file

oid
doc = an integer identifying the data source
x
doc = the EW coordinate of the location of the source
y
doc = the NS coordinate of the location of the source
d
doc = the displacement projected along the line of sight (LOS)
theta
doc = the azimuthal angle of the LOS vector to the observing craft
phi
doc = the polar angle of the LOS vector to the observing craft
read(self, uri)

Load a data set from a CSV file

write(self, uri)

Save my data into a CSV file

altar.models.cdm.cdm()