| 1 | [ShScripts Return to script index] |
| 2 | |
| 3 | == 2D azimuth rotation == |
| 4 | |
| 5 | '''command''': ROTAZ <ne-list> <azimuth> |
| 6 | |
| 7 | 2-dimensional rotation of N,E components by azimuth <azimuth>. The output traces get the component names R,T. The input traces remain unchanged. |
| 8 | |
| 9 | === parameters === |
| 10 | |
| 11 | * <ne-list> ''parameter type: trace list''[[BR]] |
| 12 | Trace list of the two (another list length results in an error) input traces. Should be N and E components. Please check the correct succession. |
| 13 | |
| 14 | * <azimuth> ''parameter type: real''[[BR]] |
| 15 | Rotation angle in degrees. |
| 16 | |
| 17 | === example === |
| 18 | |
| 19 | `rotaz 2,3 277.6`:: |
| 20 | rotates traces 2 and 3 (N and E component, check succession) by azimuth of 277.6 deg |
| 21 | |
| 22 | === commands used === |
| 23 | |
| 24 | * [ShCalc CALC] |
| 25 | * [ShDefault DEFAULT] |
| 26 | * [ShNr NR] |
| 27 | * [ShRd RD] |
| 28 | * [ShReturn RETURN] |
| 29 | * [ShRot ROT] |
| 30 | * [ShSdef SDEF] |
| 31 | * [ShSet SET] |