[ShScripts Return to script index]
== 3D rotation into LQT system ==
'''command''': ROT3
3-dimensional rotation of components Z,N,E (given by parameter ) into L,Q,T system. The two angles are and (angle of incidence). The output traces get the component names L,Q,T. The input traces remain unchanged.
=== parameters ===
* ''parameter type: trace list''[[BR]]
List of input traces. Should be Z,N,E components. The length of this trace list must be 3, otherwise the command procedure is aborted. Please note that the order of the traces in the list must be Z,N,E (this is not checked).
* , ''parameter type: real''[[BR]]
Rotation angles in degrees. The rotation matrix is given in the [ShHelp HELP] of the [ShRot ROT] command.
=== example ===
`rot3 1-3 23.3 9.8`::
rotates the first three traces (succession of components must be Z,N,E) by angles of 23.3 deg (azimuth) and 9.8 deb (angle of incidence)
=== commands used ===
* [ShCalc CALC]
* [ShDefault DEFAULT]
* [ShNr NR]
* [ShRd RD]
* [ShReturn RETURN]
* [ShRot ROT]
* [ShSdef SDEF]
* [ShSet SET]