pyacs.gts.lib.primitive.rotate module

pyacs.gts.lib.primitive.rotate.rotate(self, angle, in_place=False)[source]

Rotate the horizontal axes (E, N) by an angle.

Parameters:
  • angle (float) – Angle in decimal degrees, clockwise.

  • in_place (bool, optional) – If True, replace the current time series; otherwise return a new Gts.

Returns:

Rotated time series (self if in_place, else new Gts). .data_xyz set to None.

Return type:

Gts