obspy.io.xseed.parser.Parser.rotate_to_zne

Parser.rotate_to_zne(stream)[source]

Rotates the three components of a Stream to ZNE.

Currently limited to rotating exactly three components covering exactly the same time span. The components can have arbitrary orientation and need not be orthogonal to each other. The output will be a new Stream object containing vertical, north, and east channels.

Parameters:stream The stream object to rotate. Needs to have exactly three components, all the same length and timespan. Furthermore all components need to be described in the Parser object.