obspy.core.stream.Stream.rotate¶
- Stream.rotate(method, back_azimuth=None, inclination=None)[source]¶
Rotate stream objects.
Parameters: - method (str)
Determines the rotation method.
- 'NE->RT': Rotates the North- and East-components of a
- seismogram to radial and transverse components.
- 'RT->NE': Rotates the radial and transverse components of a
- seismogram to North- and East-components.
- 'ZNE->LQT': Rotates from left-handed Z, North, and East system
- to LQT, e.g. right-handed ray coordinate system.
- 'LQT->ZNE': Rotates from LQT, e.g. right-handed ray coordinate
- system to left handed Z, North, and East system.
- back_azimuth (float, optional) Depends on the chosen method. A single float, the back azimuth from station to source in degrees. If not given, stats.back_azimuth will be used. It will also be written after the rotation is done.
- inclination (float, optional) Inclination of the ray at the station in degrees. Only necessary for three component rotations. If not given, stats.inclination will be used. It will also be written after the rotation is done.
- method (str)