multigps class

class csi.multigps(name, gpsobjects=None, utmzone=None, ellps='WGS84', obs_per_station=2, lon0=None, lat0=None)

A class that handles several networks of gps stations

Args:
  • name : Name of the dataset.

Kwargs:
  • gpsobjects: list of instances of the gps class

  • obs_per_station: how many data points per site

  • utmzone : UTM zone (optional, default=None)

  • lon0 : Longitude of the center of the UTM zone

  • lat0 : Latitude of the center of the UTM zone

  • ellps : ellipsoid (optional, default=’WGS84’)

  • verbose : Speak to me (default=True)

computeTransformation(fault, custom=False)

Computes the transformation that is stored with a particular fault.

Args:
  • fault: instance of a fault class that has a {polysol} attribute

Kwargs:
  • custom: True/False. Do we have to account for custom GFs?

Returns:
  • None. Transformation is stroed in attribute {transformation}

getNumberOfTransformParameters(transformation)

Returns the number of transform parameters for the given transformation.

Args:
  • transformation: List [main_transformation, [transfo_subnet1, transfo_subnet2, ….] ]. Each can be ‘strain’, ‘full’, ‘strainnorotation’, ‘strainnotranslation’, ‘strainonly’

Returns:
  • int

getTransformEstimator(transformation, computeNormFact=True)

Returns the estimator for the transform.

Args:
  • transformation : List [main_transformation, [transfo_subnet1, transfo_subnet2, ….] ]. Each item can be ‘strain’, ‘full’, ‘strainnorotation’, ‘strainnotranslation’, ‘strainonly’

Kwargs:
  • computeNormFact: compute and store the normalizing factor

Returns:
  • 2D array

setgps(gpsobjects)

Takes list of gps and set it

Args:
  • gpsobjects : List of gps objects.

Returns:
  • None