altar.models.mogi

Subpackages

Submodules

Package Contents

Classes

Functions

class altar.models.mogi.source(x=x, y=y, d=d, dV=dV, nu=nu, **kwds)

An implementation of Mogi[1958]

The surface displacement calculation for a point pressure source in an elastic half space.

x = 0
y = 0
d = 0
dV = 0
nu = 0.25
displacements(self, locations, los)

Compute the expected displacements from a point pressure source at a set of observation locations

class altar.models.mogi.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.mogi.mogi()