| 1 | [ShScripts Return to script index] |
| 2 | |
| 3 | == 2D incidence rotation == |
| 4 | |
| 5 | '''command''': ROTINCI <zr-list> <inci> |
| 6 | |
| 7 | 2-dimensional rotation of Z,R components by angle of incidence <inci>. The output traces get the component names L,Q. The input traces remain unchanged. |
| 8 | |
| 9 | === parameters === |
| 10 | |
| 11 | * <zr-list> ''parameter type: trace list''[[BR]] |
| 12 | Trace list of the two (another list length results in an error) input traces. Should be Z and R components. Please check the correct succession. |
| 13 | |
| 14 | * <inci> ''parameter type: real''[[BR]] |
| 15 | Rotation angle in degrees. |
| 16 | |
| 17 | === example === |
| 18 | |
| 19 | `rotinci 1,2 18.6`:: |
| 20 | rotates traces 1 and 2 (Z and R component, check succession) by angle of incidence of 18.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] |